diff options
author | Maksim Yevmenkin <emax@FreeBSD.org> | 2004-01-09 18:19:12 +0000 |
---|---|---|
committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2004-01-09 18:19:12 +0000 |
commit | 6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70 (patch) | |
tree | 6edd52105de3fc153df6b4a94ba397fac5c090a0 /lib/libsdp/sdp-int.h | |
parent | c8885b4b8ff7f80d9559abdba582c4ea38bc4ee6 (diff) | |
download | src-6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70.tar.gz src-6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70.zip |
Prepare libsdp(3) for the upcoming sdpd import
Also while i'm here s/u_int/uint
Reviewed by: imp (mentor), ru
Notes
Notes:
svn path=/head/; revision=124305
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 95aeb43e230c..d8a064d1e382 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 */ }; |