diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-11-17 14:14:13 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-11-17 14:14:13 -0300 |
commit | e464fdc01d72be442e8386d9004452a1e29a9eb9 (patch) | |
tree | 52dbd8dfe2019040bfc0cc2090349a91a0c57c39 /include | |
parent | 8ab9a6d32c2e5bbb8af27b1951e74ec5539cd78e (diff) |
Introduce sdp_copy_record.
To prevent use of sdp_gen_record_pdu + sdp_extract_pdu for copying
records.
Diffstat (limited to 'include')
-rw-r--r-- | include/sdp_lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h index f1f74f98..959864fe 100644 --- a/include/sdp_lib.h +++ b/include/sdp_lib.h @@ -585,6 +585,7 @@ static inline int sdp_get_icon_url(const sdp_record_t *rec, char *str, int len) } sdp_record_t *sdp_extract_pdu(const uint8_t *pdata, int bufsize, int *scanned); +sdp_record_t *sdp_copy_record(sdp_record_t *rec); void sdp_data_print(sdp_data_t *data); void sdp_print_service_attr(sdp_list_t *alist); |