diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-14 00:53:22 +0000 |
commit | 812103cea68f1da2004dd518c5ad3b448a0e1729 (patch) | |
tree | b4bc86a077385a219474bcb5bca727e0703ed52b /src/net/network.h | |
parent | 3628aae5ef1be719603d4aa8e1b209cf5e04520c (diff) | |
download | mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.gz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.bz2 mana-812103cea68f1da2004dd518c5ad3b448a0e1729.tar.xz mana-812103cea68f1da2004dd518c5ad3b448a0e1729.zip |
Simplified logging for the sake of simplicity.
Diffstat (limited to 'src/net/network.h')
-rw-r--r-- | src/net/network.h | 9 |
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 |