diff options
author | emax <emax@FreeBSD.org> | 2004-01-09 22:44:28 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-01-09 22:44:28 +0000 |
commit | 67356f1515b179322ab5f61deaac067e10dbba00 (patch) | |
tree | 6ed17ae08cf9c5d4fd244460555de488ae99253b /lib/libsdp/sdp.3 | |
parent | ff23b25ca9fe242253a4d57aa0eef0c0a8d10e81 (diff) | |
download | FreeBSD-src-67356f1515b179322ab5f61deaac067e10dbba00.zip FreeBSD-src-67356f1515b179322ab5f61deaac067e10dbba00.tar.gz |
Change sdp_open_local(3) API. It now takes a path to a control socket
Teach sdpcontrol(8) how to talk to the local SDP server
Update man pages
s/u_int/uint
Reviewed by: imp (mentor), ru
Diffstat (limited to 'lib/libsdp/sdp.3')
-rw-r--r-- | lib/libsdp/sdp.3 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libsdp/sdp.3 b/lib/libsdp/sdp.3 index 88c6ff7..e849780 100644 --- a/lib/libsdp/sdp.3 +++ b/lib/libsdp/sdp.3 @@ -73,7 +73,7 @@ .Ft void * .Fn sdp_open "bdaddr_t const *l" "bdaddr_t const *r" .Ft void * -.Fn sdp_open_local "void" +.Fn sdp_open_local "char const *control" .Ft int32_t .Fn sdp_close "void *xs" .Ft int32_t @@ -134,7 +134,13 @@ Remote BD_ADDR can not be .Dv NG_HCI_BDADDR_ANY . The .Fn sdp_open_local -function takes no arguments and opens a connection to a local SDP server. +function takes path to the control socket and opens a connection to a local +SDP server. +If path to the control socket is +.Dv NULL +then default +.Pa /var/run/sdp +path will be used. .Pp The .Fn sdp_close |