summaryrefslogtreecommitdiffstats
path: root/sdpd/sdpd.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-13 23:30:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-13 23:30:30 +0000
commitc6e4778e9cbc61e77ef9d8721bc04343af11d7e9 (patch)
tree2806d3eb8190b3384ddf388f1174f9aa15e3b438 /sdpd/sdpd.h
parentf238b6612fcbe115a20279a2e7509de4e86f013e (diff)
Turn it into a full SDP server library
Diffstat (limited to 'sdpd/sdpd.h')
-rw-r--r--sdpd/sdpd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sdpd/sdpd.h b/sdpd/sdpd.h
index a22096d6..ccdd9653 100644
--- a/sdpd/sdpd.h
+++ b/sdpd/sdpd.h
@@ -24,6 +24,7 @@
*
*/
+#include <bluetooth/bluetooth.h>
#include <bluetooth/sdp.h>
typedef struct request {
@@ -74,3 +75,10 @@ int sdp_check_access(uint32_t handle, bdaddr_t *device);
uint32_t sdp_next_handle(void);
uint32_t sdp_get_time();
+
+#define SDP_SERVER_COMPAT (1 << 0)
+#define SDP_SERVER_MASTER (1 << 1)
+#define SDP_SERVER_PUBLIC (1 << 2)
+
+int start_sdp_server(uint16_t mtu, uint32_t flags);
+void stop_sdp_server(void);