From 214cc18ef97fcaa0a4c3746e183caf5820bc811b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 22 Nov 2006 06:06:36 +0000 Subject: Add first draft XML based service record registration --- common/sdp-xml.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'common/sdp-xml.h') diff --git a/common/sdp-xml.h b/common/sdp-xml.h index 5e6bb7ce..16bea948 100644 --- a/common/sdp-xml.h +++ b/common/sdp-xml.h @@ -27,7 +27,18 @@ #include +#define SDP_XML_ENCODING_NORMAL 0 +#define SDP_XML_ENCODING_HEX 1 + 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 *sdp_xml_parse_record(const char *data, int size); + #endif /* __SDP_XML_H */ -- cgit