1 /*
2  *  Copyright 2006  Serge van den Boom <svdb@stack.nl>
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18 
19 #ifndef UQM_SUPERMELEE_NETPLAY_PROTO_READY_H_
20 #define UQM_SUPERMELEE_NETPLAY_PROTO_READY_H_
21 
22 #include "../netconnection.h"
23 
24 #if defined(__cplusplus)
25 extern "C" {
26 #endif
27 
28 bool Netplay_localReady(NetConnection *conn,
29 		NetConnection_ReadyCallback callback, void *arg, bool notifyRemote);
30 bool Netplay_remoteReady(NetConnection *conn);
31 bool Netplay_isLocalReady(const NetConnection *conn);
32 bool Netplay_isRemoteReady(const NetConnection *conn);
33 
34 #if defined(__cplusplus)
35 }
36 #endif
37 
38 #endif  /* UQM_SUPERMELEE_NETPLAY_PROTO_READY_H_ */
39