Deleted Added
full compact
sdp.3 (124305) sdp.3 (124317)
1.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 9 unchanged lines hidden (view full) ---

18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $Id: sdp.3,v 1.1 2003/09/07 20:34:19 max Exp $
1.\" Copyright (c) 2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 9 unchanged lines hidden (view full) ---

18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $Id: sdp.3,v 1.1 2003/09/07 20:34:19 max Exp $
26.\" $FreeBSD: head/lib/libsdp/sdp.3 124305 2004-01-09 18:19:12Z emax $
26.\" $FreeBSD: head/lib/libsdp/sdp.3 124317 2004-01-09 22:44:28Z emax $
27.\"
28.Dd September 7, 2003
29.Dt SDP 3
30.Os
31.Sh NAME
32.Nm SDP_GET8 ,
33.Nm SDP_GET16 ,
34.Nm SDP_GET32 ,

--- 33 unchanged lines hidden (view full) ---

68.Fn SDP_PUT8 "b" "cp"
69.Fn SDP_PUT16 "s" "cp"
70.Fn SDP_PUT32 "l" "cp"
71.Fn SDP_PUT64 "l" "cp"
72.Fn SDP_PUT128 "l" "cp"
73.Ft void *
74.Fn sdp_open "bdaddr_t const *l" "bdaddr_t const *r"
75.Ft void *
27.\"
28.Dd September 7, 2003
29.Dt SDP 3
30.Os
31.Sh NAME
32.Nm SDP_GET8 ,
33.Nm SDP_GET16 ,
34.Nm SDP_GET32 ,

--- 33 unchanged lines hidden (view full) ---

68.Fn SDP_PUT8 "b" "cp"
69.Fn SDP_PUT16 "s" "cp"
70.Fn SDP_PUT32 "l" "cp"
71.Fn SDP_PUT64 "l" "cp"
72.Fn SDP_PUT128 "l" "cp"
73.Ft void *
74.Fn sdp_open "bdaddr_t const *l" "bdaddr_t const *r"
75.Ft void *
76.Fn sdp_open_local "void"
76.Fn sdp_open_local "char const *control"
77.Ft int32_t
78.Fn sdp_close "void *xs"
79.Ft int32_t
80.Fn sdp_error "void *xs"
81.Ft int32_t
82.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"
83.Ft char const * const
84.Fn sdp_attr2desc "uint16_t attr"

--- 44 unchanged lines hidden (view full) ---

129.Fn sdp_open
130function should point to a non
131.Dv NULL
132remote BD_ADDR.
133Remote BD_ADDR can not be
134.Dv NG_HCI_BDADDR_ANY .
135The
136.Fn sdp_open_local
77.Ft int32_t
78.Fn sdp_close "void *xs"
79.Ft int32_t
80.Fn sdp_error "void *xs"
81.Ft int32_t
82.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"
83.Ft char const * const
84.Fn sdp_attr2desc "uint16_t attr"

--- 44 unchanged lines hidden (view full) ---

129.Fn sdp_open
130function should point to a non
131.Dv NULL
132remote BD_ADDR.
133Remote BD_ADDR can not be
134.Dv NG_HCI_BDADDR_ANY .
135The
136.Fn sdp_open_local
137function takes no arguments and opens a connection to a local SDP server.
137function takes path to the control socket and opens a connection to a local
138SDP server.
139If path to the control socket is
140.Dv NULL
141then default
142.Pa /var/run/sdp
143path will be used.
138.Pp
139The
140.Fn sdp_close
141function terminates active SDP session and deletes SDP session object.
142The
143.Vt xs
144parameter should point to a valid SDP session object created with
145.Fn sdp_open

--- 164 unchanged lines hidden ---
144.Pp
145The
146.Fn sdp_close
147function terminates active SDP session and deletes SDP session object.
148The
149.Vt xs
150parameter should point to a valid SDP session object created with
151.Fn sdp_open

--- 164 unchanged lines hidden ---