diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-08 10:30:05 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-08 10:30:05 +0300 |
commit | 17370895fde2d210bb50dfaa1c89fe6601de3467 (patch) | |
tree | 2797d5e061b7948a53f270f9ccfcc31b1c0ad6f5 /cups/main.c | |
parent | fa141e676e82cd20082779c086d1fef6427fdc20 (diff) | |
parent | 393416b170d6e4b2b7406418d63c7be2aefda70f (diff) |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/bluetooth/bluez
Diffstat (limited to 'cups/main.c')
-rw-r--r-- | cups/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cups/main.c b/cups/main.c index 001d6788..15517f61 100644 --- a/cups/main.c +++ b/cups/main.c @@ -41,7 +41,6 @@ #include <gdbus.h> #include "cups.h" -#include "sdp-xml.h" extern int sdp_search_spp(sdp_session_t *sdp, uint8_t *channel); extern int sdp_search_hcrp(sdp_session_t *sdp, unsigned short *ctrl_psm, unsigned short *data_psm); @@ -63,6 +62,11 @@ static DBusConnection *conn = NULL; #define ATTRID_1284ID 0x0300 +static sdp_record_t *sdp_xml_parse_record(const char *data, int size) +{ + return NULL; +} + static char *parse_xml_sdp(const char *xml) { sdp_record_t *sdp_record; @@ -72,6 +76,7 @@ static char *parse_xml_sdp(const char *xml) sdp_record = sdp_xml_parse_record(xml, strlen(xml)); if (sdp_record == NULL) return NULL; + for (l = sdp_record->attrlist; l != NULL; l = l->next) { sdp_data_t *data; |