diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2010-11-24 15:16:56 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-11-25 22:02:00 +0200 |
commit | c23075506221ac49ffb5cb9452e49ef735180a6d (patch) | |
tree | 3754328ac7084b05fce6fa95350870651b07c091 /src/sdpd-request.c | |
parent | 565ffe72f8b23517953b23595cc7657276841073 (diff) | |
download | bluez-c23075506221ac49ffb5cb9452e49ef735180a6d.tar.gz |
sdpd header cleanup
Diffstat (limited to 'src/sdpd-request.c')
-rw-r--r-- | src/sdpd-request.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/sdpd-request.c b/src/sdpd-request.c index 025de605e..9e4b6b80f 100644 --- a/src/sdpd-request.c +++ b/src/sdpd-request.c @@ -45,6 +45,16 @@ #include "sdpd.h" #include "log.h" +typedef struct { + uint32_t timestamp; + union { + uint16_t maxBytesSent; + uint16_t lastIndexSent; + } cStateValue; +} sdp_cont_state_t; + +#define SDP_CONT_STATE_SIZE (sizeof(uint8_t) + sizeof(sdp_cont_state_t)) + #define MIN(x, y) ((x) < (y)) ? (x): (y) typedef struct _sdp_cstate_list sdp_cstate_list_t; @@ -58,7 +68,7 @@ struct _sdp_cstate_list { static sdp_cstate_list_t *cstates; // FIXME: should probably remove it when it's found -sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate) +static sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate) { sdp_cstate_list_t *p; |