Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH obexd 7/8] ftp: remove pcsuite code
Date: Wed,  2 Nov 2011 15:09:54 +0200	[thread overview]
Message-ID: <1320239395-29819-7-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1320239395-29819-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 plugins/ftp.c |   55 -------------------------------------------------------
 1 files changed, 0 insertions(+), 55 deletions(-)

diff --git a/plugins/ftp.c b/plugins/ftp.c
index aebe411..30edc6b 100644
--- a/plugins/ftp.c
+++ b/plugins/ftp.c
@@ -95,70 +95,15 @@
   </attribute>								\
 </record>"
 
-#define PCSUITE_CHANNEL 24
-#define PCSUITE_WHO_SIZE 8
-
-#define PCSUITE_RECORD "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>	\
-<record>								\
-  <attribute id=\"0x0001\">						\
-    <sequence>								\
-      <uuid value=\"00005005-0000-1000-8000-0002ee000001\"/>		\
-    </sequence>								\
-  </attribute>								\
-									\
-  <attribute id=\"0x0004\">						\
-    <sequence>								\
-      <sequence>							\
-        <uuid value=\"0x0100\"/>					\
-      </sequence>							\
-      <sequence>							\
-        <uuid value=\"0x0003\"/>					\
-        <uint8 value=\"%u\" name=\"channel\"/>				\
-      </sequence>							\
-      <sequence>							\
-        <uuid value=\"0x0008\"/>					\
-      </sequence>							\
-    </sequence>								\
-  </attribute>								\
-									\
-  <attribute id=\"0x0005\">						\
-    <sequence>								\
-      <uuid value=\"0x1002\"/>						\
-    </sequence>								\
-  </attribute>								\
-									\
-  <attribute id=\"0x0009\">						\
-    <sequence>								\
-      <sequence>							\
-        <uuid value=\"00005005-0000-1000-8000-0002ee000001\"/>		\
-        <uint16 value=\"0x0100\" name=\"version\"/>			\
-      </sequence>							\
-    </sequence>								\
-  </attribute>								\
-									\
-  <attribute id=\"0x0100\">						\
-    <text value=\"%s\" name=\"name\"/>					\
-  </attribute>								\
-</record>"
-
 static const uint8_t FTP_TARGET[TARGET_SIZE] = {
 			0xF9, 0xEC, 0x7B, 0xC4, 0x95, 0x3C, 0x11, 0xD2,
 			0x98, 0x4E, 0x52, 0x54, 0x00, 0xDC, 0x9E, 0x09 };
 
-static const uint8_t PCSUITE_WHO[PCSUITE_WHO_SIZE] = {
-			'P', 'C', ' ', 'S', 'u', 'i', 't', 'e' };
-
 struct ftp_session {
 	struct obex_session *os;
 	char *folder;
 };
 
-struct pcsuite_session {
-	struct ftp_session *ftp;
-	char *lock_file;
-	int fd;
-};
-
 static void set_folder(struct ftp_session *ftp, const char *new_folder)
 {
 	DBG("%p folder %s", ftp, new_folder);
-- 
1.7.6.4


  parent reply	other threads:[~2011-11-02 13:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 13:09 [PATCH obexd 1/8] Remove config.h from src/obex.h Luiz Augusto von Dentz
2011-11-02 13:09 ` [PATCH obexd 2/8] Removed unused fields of obex_server Luiz Augusto von Dentz
2011-11-02 13:09 ` [PATCH obexd 3/8] Remove options per server Luiz Augusto von Dentz
2011-11-02 13:09 ` [PATCH obexd 4/8] Move secure flag to service driver Luiz Augusto von Dentz
2011-11-02 13:09 ` [PATCH obexd 5/8] Make obex_server_init to initialized all services registered Luiz Augusto von Dentz
2011-11-02 13:09 ` [PATCH obexd 6/8] filesystem: remove unnecessary includes Luiz Augusto von Dentz
2011-11-02 13:09 ` Luiz Augusto von Dentz [this message]
2011-11-02 13:09 ` [PATCH obexd 8/8] ftp: fix coding style Luiz Augusto von Dentz
2011-11-03  8:33 ` [PATCH obexd 1/8] Remove config.h from src/obex.h Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1320239395-29819-7-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox