diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-08-25 19:12:38 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2006-08-25 19:12:38 +0000 |
commit | 8be090b298a02108146d3bf48271f8408ac31917 (patch) | |
tree | 08876e82e0ccdfe74bdb433b898220cb7e1e02eb /include/sdp_lib.h | |
parent | 2b3d5cfe013c2abf259b86e8dc73bda3d36429c1 (diff) |
Added sdp_create for async searches
Diffstat (limited to 'include/sdp_lib.h')
-rw-r--r-- | include/sdp_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h index 8a89ab6e..a4b2cb4b 100644 --- a/include/sdp_lib.h +++ b/include/sdp_lib.h @@ -112,6 +112,12 @@ int sdp_get_socket(const sdp_session_t *session); 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); +sdp_session_t *sdp_create(int sk, uint32_t flags); + +/* * find all devices in the piconet */ int sdp_general_inquiry(inquiry_info *ii, int dev_num, int duration, uint8_t *found); |