Forgot headerfile for network part.

This commit is contained in:
Steinar Hamre 2008-10-09 19:22:50 +00:00
parent 227e1e9254
commit ea727f335a

18
src/net.h Normal file
View File

@ -0,0 +1,18 @@
/* -*- c-basic-offset: 4 -*- */
#ifndef KHET_NET_H
#define KHET_NET_H
#include <stdio.h>
extern FILE *net_side[2];
#define net_getc(side) getc(net_side[i])
extern void net_server(int port);
extern void net_all_printf(const char *fmt, ...);
extern void net_side_printf(int side, const char *fmt, ...);
extern void net_all_flush();
#endif