summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 20:30:22 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 20:30:22 +0000
commitff28bd5e88ed683f73022dcf10f00a67898536ed (patch)
treeb9dc41bfdbc71da5c73c77697e4c0d13a25e5431 /src/common/socket.h
parentec70b501945e9c74c83a07f43ffc2c3a4cc97019 (diff)
downloadhercules-ff28bd5e88ed683f73022dcf10f00a67898536ed.tar.gz
hercules-ff28bd5e88ed683f73022dcf10f00a67898536ed.tar.bz2
hercules-ff28bd5e88ed683f73022dcf10f00a67898536ed.tar.xz
hercules-ff28bd5e88ed683f73022dcf10f00a67898536ed.zip
Wiped out the poorly written parse code from r2211
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index 65c18a5a6..7a07a3770 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -69,15 +69,6 @@
#define TOL(n) ((uint32)((n)&UINT32_MAX))
-// Session type
-enum SessionType {
- SESSION_UNKNOWN = -1,
- SESSION_RAW = 0,
- SESSION_HTTP = 1,
-//-----------------
- SESSION_MAX = 2
-};
-
// Struct declaration
struct socket_data {
@@ -93,15 +84,7 @@ struct socket_data {
int (*func_parse)(int);
void* session_data;
void* session_data2;
- enum SessionType type;
-};
-
-// Parse functions table
-struct func_parse_table {
- int (*func)(int);
- int (*check)(struct socket_data *);
};
-extern struct func_parse_table func_parse_table[SESSION_MAX];
// Data prototype declaration