aboutsummaryrefslogtreecommitdiffstats
path: root/src/kvilib/net/kvi_socket.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Uzhva2007-03-26 17:45:28 +0000
committerGravatar Alexey Uzhva2007-03-26 17:45:28 +0000
commit7f09220773e20a36799c203ea9670b7ee2e1e2b1 (patch)
tree83840f39af02b63de0c49e41fc20166804e01d23 /src/kvilib/net/kvi_socket.cpp
parentreverted fix, on old bash does not compile (diff)
downloadKVIrc-7f09220773e20a36799c203ea9670b7ee2e1e2b1.tar.gz
KVIrc-7f09220773e20a36799c203ea9670b7ee2e1e2b1.tar.bz2
KVIrc-7f09220773e20a36799c203ea9670b7ee2e1e2b1.zip
new functions: $receivedBytes and $sentBytes
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@436 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/kvilib/net/kvi_socket.cpp')
-rw-r--r--src/kvilib/net/kvi_socket.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kvilib/net/kvi_socket.cpp b/src/kvilib/net/kvi_socket.cpp
index 3196c5d36..a55de4440 100644
--- a/src/kvilib/net/kvi_socket.cpp
+++ b/src/kvilib/net/kvi_socket.cpp
@@ -20,7 +20,12 @@
// Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
-#define __KVILIB__
+#define _KVI_SOCKET_CPP_
+#define __KVILIB__
#include "kvi_socket.h"
+#include "kvi_inttypes.h"
+
+KVILIB_API kvi_u64_t g_uOutgoingTraffic;
+KVILIB_API kvi_u64_t g_uIncomingTraffic; \ No newline at end of file