summaryrefslogtreecommitdiff
path: root/src/map/session.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-06 20:57:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-07 00:35:13 +0300
commitd808fef992c2f37bd89fd8336f20cf587016e5a9 (patch)
tree2d390c3f544316b3713a9ba372aa3b0afa0667ce /src/map/session.h
parentfeba0e8cd021ab0a0b469e79125dfc794442db17 (diff)
downloadevol-hercules-d808fef992c2f37bd89fd8336f20cf587016e5a9.tar.gz
evol-hercules-d808fef992c2f37bd89fd8336f20cf587016e5a9.tar.bz2
evol-hercules-d808fef992c2f37bd89fd8336f20cf587016e5a9.tar.xz
evol-hercules-d808fef992c2f37bd89fd8336f20cf587016e5a9.zip
Add packet for accept client version in map server.
Add struct for additional connection data. Add functions for get additional connection data. Impliment script function: getclientversion.
Diffstat (limited to 'src/map/session.h')
-rw-r--r--src/map/session.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/session.h b/src/map/session.h
new file mode 100644
index 0000000..24a82d3
--- /dev/null
+++ b/src/map/session.h
@@ -0,0 +1,12 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 Evol developers
+
+#ifndef EVOL_MAP_SESSION
+#define EVOL_MAP_SESSION
+
+struct SessionExt;
+
+struct SessionExt *session_get(int fd);
+struct SessionExt *session_create(void);
+
+#endif // EVOL_MAP_SESSION