diff options
author | emax <emax@FreeBSD.org> | 2004-01-09 18:19:12 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-01-09 18:19:12 +0000 |
commit | a67ee2bd6ef51c55ecdd5ff68d710908cf65d27f (patch) | |
tree | 6edd52105de3fc153df6b4a94ba397fac5c090a0 /lib/libsdp/sdp-int.h | |
parent | 2497266fae5105d666d9b331cbf142d8308fd9ce (diff) | |
download | FreeBSD-src-a67ee2bd6ef51c55ecdd5ff68d710908cf65d27f.zip FreeBSD-src-a67ee2bd6ef51c55ecdd5ff68d710908cf65d27f.tar.gz |
Prepare libsdp(3) for the upcoming sdpd import
Also while i'm here s/u_int/uint
Reviewed by: imp (mentor), ru
Diffstat (limited to 'lib/libsdp/sdp-int.h')
-rw-r--r-- | lib/libsdp/sdp-int.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/lib/libsdp/sdp-int.h b/lib/libsdp/sdp-int.h index 95aeb43..d8a064d 100644 --- a/lib/libsdp/sdp-int.h +++ b/lib/libsdp/sdp-int.h @@ -34,25 +34,22 @@ __BEGIN_DECLS -#define SDP_UNSOCK_PATH "/var/run/sdp" -#define SDP_UNSOCK_MTU 2048 - /* * SDP session */ struct sdp_session { - u_int16_t flags; + uint16_t flags; #define SDP_SESSION_LOCAL (1 << 0) - u_int16_t tid; /* current session transaction ID (tid) */ - u_int16_t omtu; /* outgoing MTU (req buffer size) */ - u_int16_t imtu; /* incoming MTU (rsp buffer size) */ - u_int8_t *req; /* request buffer (start) */ - u_int8_t *req_e; /* request buffer (end) */ - u_int8_t *rsp; /* response buffer (start) */ - u_int8_t *rsp_e; /* response buffer (end) */ - u_int32_t cslen; /* continuation state length */ - u_int8_t cs[16];/* continuation state */ + uint16_t tid; /* current session transaction ID (tid) */ + uint16_t omtu; /* outgoing MTU (req buffer size) */ + uint16_t imtu; /* incoming MTU (rsp buffer size) */ + uint8_t *req; /* request buffer (start) */ + uint8_t *req_e; /* request buffer (end) */ + uint8_t *rsp; /* response buffer (start) */ + uint8_t *rsp_e; /* response buffer (end) */ + uint32_t cslen; /* continuation state length */ + uint8_t cs[16];/* continuation state */ int32_t s; /* L2CAP socket */ int32_t error; /* last error code */ }; |