rob@76
|
1 /*
|
rob@76
|
2 OSCgroups -- open sound control groupcasting infrastructure
|
rob@76
|
3 Copyright (C) 2005 Ross Bencina
|
rob@76
|
4
|
rob@76
|
5 This program is free software; you can redistribute it and/or
|
rob@76
|
6 modify it under the terms of the GNU General Public License
|
rob@76
|
7 as published by the Free Software Foundation; either version 2
|
rob@76
|
8 of the License, or (at your option) any later version.
|
rob@76
|
9
|
rob@76
|
10 This program is distributed in the hope that it will be useful,
|
rob@76
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
rob@76
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
rob@76
|
13 GNU General Public License for more details.
|
rob@76
|
14
|
rob@76
|
15 You should have received a copy of the GNU General Public License
|
rob@76
|
16 along with this program; if not, write to the Free Software
|
rob@76
|
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
rob@76
|
18 */
|
rob@76
|
19
|
rob@76
|
20 #ifndef INCLUDED_OSCGROUPSERVER_H
|
rob@76
|
21 #define INCLUDED_OSCGROUPSERVER_H
|
rob@76
|
22
|
rob@76
|
23 // OSCGroupServer.h/cpp implements network i/o and OSC marshalling logic
|
rob@76
|
24 // for the admission control server implemented in GroupServer.h/cpp
|
rob@76
|
25
|
rob@76
|
26
|
rob@76
|
27 // null log file means stdout
|
rob@76
|
28
|
rob@76
|
29 void StartOscGroupServer( int port, int timeoutSeconds, int maxUsers, int maxGroups,
|
rob@76
|
30 const char *logFile );
|
rob@76
|
31 void StopOscGroupServer();
|
rob@76
|
32
|
rob@76
|
33 int oscgroupserver_main( int argc, char* argv[] );
|
rob@76
|
34
|
rob@76
|
35
|
rob@76
|
36 #endif /* INCLUDED_OSCGROUPSERVER_H */
|