summaryrefslogtreecommitdiff
path: root/src/net/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/network.h')
-rw-r--r--src/net/network.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/network.h b/src/net/network.h
index 2564c801..61fb5133 100644
--- a/src/net/network.h
+++ b/src/net/network.h
@@ -75,10 +75,19 @@
#define RFIFOSPACE (buffer_size-in_size) // Return input buffer size
#define RFIFOSET(len) in_size+=len;
+/** Increase size of written data */
void WFIFOSET(int len);
+
+/** Convert an address from int format to string */
char *iptostring(int address);
+
+/** Open a session with a server */
SOCKET open_session(const char* address, short port);
+
+/** Close a session */
void close_session();
+
+/** Send and receive data waiting in the buffers */
void flush();
extern char *in, *out; // Input, output buffer