summaryrefslogtreecommitdiff
path: root/src/sdpd.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-01-06 14:15:48 -0800
committerMarcel Holtmann <marcel@holtmann.org>2013-01-06 14:15:48 -0800
commitc3f7247cfe67e94a6265d7ea164d53a046fc1778 (patch)
treefdb2c1c44f5d10e78ffbe48fc01e12110eab98b8 /src/sdpd.h
parentd16dbe8800d62b7991713c12b9786895562d5c5d (diff)
downloadbluez-c3f7247cfe67e94a6265d7ea164d53a046fc1778.tar.gz
core: Add support for setting a fixed SDP database timestamp
This is only useful for unit testing where the service database state needs to be known and should not change.
Diffstat (limited to 'src/sdpd.h')
-rw-r--r--src/sdpd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdpd.h b/src/sdpd.h
index 93ebcd6f5..9a0e1e9df 100644
--- a/src/sdpd.h
+++ b/src/sdpd.h
@@ -48,6 +48,8 @@ typedef struct request {
void handle_internal_request(int sk, int mtu, void *data, int len);
void handle_request(int sk, uint8_t *data, int len);
+void set_fixed_db_timestamp(uint32_t dbts);
+
int service_register_req(sdp_req_t *req, sdp_buf_t *rsp);
int service_update_req(sdp_req_t *req, sdp_buf_t *rsp);
int service_remove_req(sdp_req_t *req, sdp_buf_t *rsp);