diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-08-25 22:22:01 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-08-25 22:22:01 +0000 |
commit | dd610a12694a42aeb67417c95d87384f2eef8e70 (patch) | |
tree | 968166f1783406cc8aecd9396d60f48262432b75 /include/sdp_lib.h | |
parent | 8be090b298a02108146d3bf48271f8408ac31917 (diff) |
Add sdp_set_notify function
Diffstat (limited to 'include/sdp_lib.h')
-rw-r--r-- | include/sdp_lib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h index a4b2cb4b..eaf4cdb0 100644 --- a/include/sdp_lib.h +++ b/include/sdp_lib.h @@ -114,8 +114,9 @@ uint16_t sdp_gen_tid(sdp_session_t *session); /* * SDP transaction: functions for asynchronous search. */ -typedef void sdp_callback_t(uint8_t type, sdp_list_t *rsp, void *udata, int err); +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); /* * find all devices in the piconet |