diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-18 11:31:30 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-18 11:31:30 +0200 |
commit | 0a4f70772e3c2f968faae4ea96502f7d8aa9cc9b (patch) | |
tree | ece13de905179ad43212b2e81931a75d0ac9d208 /src/sdp-xml.h | |
parent | 1ff99151e058947fe2e531084645e0eef7a1afed (diff) | |
download | bluez-0a4f70772e3c2f968faae4ea96502f7d8aa9cc9b.tar.gz |
core: Make sdp-xml functions private that aren't used publically
Diffstat (limited to 'src/sdp-xml.h')
-rw-r--r-- | src/sdp-xml.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/sdp-xml.h b/src/sdp-xml.h index 49efc3986..d393f94b1 100644 --- a/src/sdp-xml.h +++ b/src/sdp-xml.h @@ -33,29 +33,6 @@ void convert_sdp_record_to_xml(sdp_record_t *rec, void *user_data, void (*append_func) (void *, const char *)); -sdp_data_t *sdp_xml_parse_nil(const char *data); -sdp_data_t *sdp_xml_parse_text(const char *data, char encoding); -sdp_data_t *sdp_xml_parse_url(const char *data); -sdp_data_t *sdp_xml_parse_int(const char *data, uint8_t dtd); -sdp_data_t *sdp_xml_parse_uuid(const char *data, sdp_record_t *record); - -struct sdp_xml_data { - char *text; /* Pointer to the current buffer */ - int size; /* Size of the current buffer */ - sdp_data_t *data; /* The current item being built */ - struct sdp_xml_data *next; /* Next item on the stack */ - char type; /* 0 = Text or Hexadecimal */ - char *name; /* Name, optional in the dtd */ - /* TODO: What is it used for? */ -}; - -struct sdp_xml_data *sdp_xml_data_alloc(void); -void sdp_xml_data_free(struct sdp_xml_data *elem); -struct sdp_xml_data *sdp_xml_data_expand(struct sdp_xml_data *elem); - -sdp_data_t *sdp_xml_parse_datatype(const char *el, struct sdp_xml_data *elem, - sdp_record_t *record); - sdp_record_t *sdp_xml_parse_record(const char *data, int size); #endif /* __SDP_XML_H */ |