summaryrefslogtreecommitdiffstats
path: root/include/sdp_lib.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-29 16:29:00 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-29 16:29:00 +0000
commitc8e5a1464ff8edb068e7361a257ef4ae34674cf8 (patch)
treeb58ad24acd6447eb4ad8563049eaa2b2a919e540 /include/sdp_lib.h
parent3f7d61cbeff52ce209a75cec97ba29507ed764bc (diff)
changed error handling in sdp_process function
Diffstat (limited to 'include/sdp_lib.h')
-rw-r--r--include/sdp_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h
index 23157c6f..64fe5b52 100644
--- a/include/sdp_lib.h
+++ b/include/sdp_lib.h
@@ -114,7 +114,7 @@ uint16_t sdp_gen_tid(sdp_session_t *session);
/*
* SDP transaction: functions for asynchronous search.
*/
-typedef void sdp_callback_t(uint8_t type, int status, uint8_t *rsp, size_t size, void *udata);
+typedef void sdp_callback_t(uint8_t type, uint16_t status, uint8_t *rsp, size_t size, void *udata);
sdp_session_t *sdp_create(int sk, uint32_t flags);
int sdp_set_notify(sdp_session_t *session, sdp_callback_t *func, void *udata);
int sdp_service_search_async(sdp_session_t *session, const sdp_list_t *search);