Removed notice about xwin. There's no xwin.c ;-).
[tetrinet/clach04.git] / sockets.h
blob9f4d25fa6435a51ff42d2e8f324c5eb726b1d28f
1 /* Tetrinet for Linux, by Andrew Church <achurch@achurch.org>
2 * This program is public domain.
4 * Socket routine declarations.
5 */
7 #ifndef SOCKETS_H
8 #define SOCKETS_H
10 extern int sgetc(int s);
11 extern int sungetc(int c, int s);
12 extern char *sgets(char *buf, int len, int s);
13 extern int sputs(const char *buf, int len);
14 extern int sockprintf(int s, const char *fmt, ...);
15 extern int conn(const char *host, int port, char ipbuf[4]);
16 extern void disconn(int s);
18 #endif /* SOCKETS_H */