summaryrefslogtreecommitdiff
path: root/src/net/packetinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-02 02:20:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-02 02:20:48 +0300
commit7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa (patch)
tree6eb9f0aebf7e80242f5b8e23fb0ea2f98635a47a /src/net/packetinfo.h
parent1e302305d8777da7b40b1ae53ae33eab866b9e26 (diff)
downloadmv-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.gz
mv-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.bz2
mv-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.xz
mv-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.zip
Use packet handlers from packet defines.
Diffstat (limited to 'src/net/packetinfo.h')
-rw-r--r--src/net/packetinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/packetinfo.h b/src/net/packetinfo.h
index d1018b10f..cd16eb409 100644
--- a/src/net/packetinfo.h
+++ b/src/net/packetinfo.h
@@ -21,17 +21,21 @@
#ifndef NET_PACKETINFO_H
#define NET_PACKETINFO_H
+#include "net/packetfunction.h"
+
#include "localconsts.h"
struct PacketInfo final
{
PacketInfo() :
name(nullptr),
+ func(nullptr),
len(0)
{
}
const char *name;
+ PacketFuncPtr func;
int len;
};