fgms 0.11.8
The
FlightGear MultiPlayer Server
project
wrappers.h
Go to the documentation of this file.
1 /*
2  * wrappers.h - headers for wrapper functions
3  *
4  * Author: Gabor Toth <tgbp@freemail.hu>
5  * License: GPL
6  *
7  * $Log: wrappers.h,v $
8  * Revision 1.2 2006/05/10 21:22:34 koversrac
9  * Comment with author and license has been added.
10  *
11  */
12 
13 #ifndef __wrappers_h
14 #define __wrappers_h
15 #include "fgt_common.h"
16 #include "fgt_error.h"
17 
18 
19 int Accept(int sockfd,struct sockaddr *cliaddr, socklen_t *addrlen) ;
20 
21 int Bind(int sockfd,const struct sockaddr *serveraddr, socklen_t addrlen) ;
22 
23 int Close(int sockfd);
24 
25 int Connect(int sockfd, const struct sockaddr *serveraddr, socklen_t addrlen) ;
26 
27 int Fork();
28 
29 int Listen(int sockfd,int backlog);
30 
31 int Socket(int family, int type, int protocol) ;
32 
33 #endif
int Connect(int sockfd, const struct sockaddr *serveraddr, socklen_t addrlen)
Definition: wrappers.c:44
int Bind(int sockfd, const struct sockaddr *serveraddr, socklen_t addrlen)
Definition: wrappers.c:26
int Accept(int sockfd, struct sockaddr *cliaddr, socklen_t *addrlen)
Definition: wrappers.c:17
int Socket(int family, int type, int protocol)
Definition: wrappers.c:73
int Close(int sockfd)
Definition: wrappers.c:35
int Fork()
Definition: wrappers.c:53
int Listen(int sockfd, int backlog)
Definition: wrappers.c:64