summaryrefslogtreecommitdiffstats
path: root/sdpd/sdpd.h
diff options
context:
space:
mode:
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);