source: roaraudio/doc/man3/roar_connect.3 @ 159:c5916bd25fe3

Last change on this file since 159:c5916bd25fe3 was 159:c5916bd25fe3, checked in by phi, 16 years ago

added some new manpages

File size: 995 bytes
Line 
1.\" roar_simple_play.3:
2
3.TH "roar_connect" "3" "July 2008" "RoarAudio" "System Manager's Manual: RoarAuido"
4
5.SH NAME
6roar_connect \- connects to RoarAudio's sound server
7
8.SH SYNOPSIS
9
10#include <roaraudio.h>
11
12int roar_connect(struct roar_connection * con, char * server);
13
14.SH "DESCRIPTION"
15Connects to RoarAudio's sound server.
16This call just connects to the sound server without any auth or identify.
17Do not use this from end user applications. Use \fBroar_simple_connect\fR(3).
18
19
20.SH "PARAMETERS"
21.TP
22\fBcon\fR
23The connection object to be filled with the data needed to talk to the server used by nearly all other calls.
24
25.TP
26\fBserver\fR
27The server to connect to.
28This may be in form "host[:port]" (TCP/IP) or "/path/to/sock" (UNIX Domain Socket).
29
30
31.SH "RETURN VALUE"
32On success these calls return 0.  On error, -1 is returned.
33
34.SH "EXAMPLES"
35See libroar/simple.c, \fBroar_simple_connect\fR(3).
36
37.SH "SEE ALSO"
38\fBroar_simple_connect\fR(3),
39\fBlibroar\fR(7),
40\fBRoarAudio\fR(7).
41
42.\" ll
Note: See TracBrowser for help on using the repository browser.