Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 507 Bytes
/* Copyright (c) 2001, Stanford University
* All rights reserved.
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#ifndef CR_NETSERVER_H
#define CR_NETSERVER_H
#include "cr_net.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
char *name;
int buffer_size;
CRConnection *conn;
} CRNetServer;
void crNetServerConnect( CRNetServer *ns );
void crNetNewClient( CRConnection *conn, CRNetServer *ns );
#ifdef __cplusplus
}
#endif
#endif /* CR_NETSERVER_H */