summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-09-05 09:41:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-09-05 09:41:50 +0000
commit113a53acaec2519108f0cab944687b7abc537e74 (patch)
treeba032c28905ea6e3cea30a3fe61142e4c34318ee /src
parentaa7577018bb1faac4b67b52dc8b003663cdd03ad (diff)
Remove sdp_cstate_t from the header file
Diffstat (limited to 'src')
-rw-r--r--src/sdp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 26f01eac..f961c7d3 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -2720,6 +2720,11 @@ static int gen_attridseq_pdu(uint8_t *dst, const sdp_list_t *seq, uint8_t dataTy
return gen_dataseq_pdu(dst, seq, dataType);
}
+typedef struct {
+ uint8_t length;
+ unsigned char data[16];
+} __attribute__ ((packed)) sdp_cstate_t;
+
static int copy_cstate(uint8_t *pdata, const sdp_cstate_t *cstate)
{
if (cstate) {