aboutsummaryrefslogtreecommitdiff
path: root/lib/libsdp/sdp.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsdp/sdp.3')
-rw-r--r--lib/libsdp/sdp.320
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libsdp/sdp.3 b/lib/libsdp/sdp.3
index 94ef34e9d147..88c6ff7c0f8e 100644
--- a/lib/libsdp/sdp.3
+++ b/lib/libsdp/sdp.3
@@ -79,11 +79,11 @@
.Ft int32_t
.Fn sdp_error "void *xs"
.Ft int32_t
-.Fn sdp_search "void *xs" "u_int32_t plen" "u_int16_t const *pp" "u_int32_t alen" "u_int32_t const *ap" "u_int32_t vlen" "sdp_attr_t *vp"
+.Fn sdp_search "void *xs" "uint32_t plen" "uint16_t const *pp" "uint32_t alen" "uint32_t const *ap" "uint32_t vlen" "sdp_attr_t *vp"
.Ft char const * const
-.Fn sdp_attr2desc "u_int16_t attr"
+.Fn sdp_attr2desc "uint16_t attr"
.Ft char const * const
-.Fn sdp_uuid2desc "u_int16_t uuid"
+.Fn sdp_uuid2desc "uint16_t uuid"
.Sh DESCRIPTION
The
.Fn SDP_GET8 ,
@@ -204,13 +204,13 @@ Each
structure describes single SDP attribute and defined as follows:
.Bd -literal -offset indent
struct sdp_attr {
- u_int16_t flags;
+ uint16_t flags;
#define SDP_ATTR_OK (0 << 0)
#define SDP_ATTR_INVALID (1 << 0)
#define SDP_ATTR_TRUNCATED (1 << 1)
- u_int16_t attr; /* SDP_ATTR_xxx */
- u_int32_t vlen; /* length of the value[] in bytes */
- u_int8_t *value; /* base pointer */
+ uint16_t attr; /* SDP_ATTR_xxx */
+ uint32_t vlen; /* length of the value[] in bytes */
+ uint8_t *value; /* base pointer */
};
typedef struct sdp_attr sdp_attr_t;
typedef struct sdp_attr * sdp_attr_p;
@@ -258,10 +258,10 @@ attribute for the
service from the remote device.
.Bd -literal -offset indent
bdaddr_t remote;
-u_int8_t buffer[1024];
+uint8_t buffer[1024];
void *ss = NULL;
-u_int16_t serv = SDP_SERVICE_CLASS_SERIAL_PORT;
-u_int32_t attr = SDP_ATTR_RANGE(
+uint16_t serv = SDP_SERVICE_CLASS_SERIAL_PORT;
+uint32_t attr = SDP_ATTR_RANGE(
SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST,
SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST);
sdp_attr_t proto = { SDP_ATTR_INVALID,0,sizeof(buffer),buffer };