Mercurial > hg > nodescore
diff oscgroups/OscGroupServer.h @ 76:0ae87af84e2f
added oscgroups
author | Rob Canning <rob@foo.net> |
---|---|
date | Sun, 13 Jul 2014 10:07:41 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/oscgroups/OscGroupServer.h Sun Jul 13 10:07:41 2014 +0100 @@ -0,0 +1,36 @@ +/* +OSCgroups -- open sound control groupcasting infrastructure +Copyright (C) 2005 Ross Bencina + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#ifndef INCLUDED_OSCGROUPSERVER_H +#define INCLUDED_OSCGROUPSERVER_H + +// OSCGroupServer.h/cpp implements network i/o and OSC marshalling logic +// for the admission control server implemented in GroupServer.h/cpp + + +// null log file means stdout + +void StartOscGroupServer( int port, int timeoutSeconds, int maxUsers, int maxGroups, + const char *logFile ); +void StopOscGroupServer(); + +int oscgroupserver_main( int argc, char* argv[] ); + + +#endif /* INCLUDED_OSCGROUPSERVER_H */