From c6e4778e9cbc61e77ef9d8721bc04343af11d7e9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 13 Jan 2007 23:30:30 +0000 Subject: Turn it into a full SDP server library --- sdpd/sdpd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sdpd/sdpd.h') 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 #include 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); -- cgit