diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-02 02:20:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-02 02:20:48 +0300 |
commit | 7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa (patch) | |
tree | 6eb9f0aebf7e80242f5b8e23fb0ea2f98635a47a /src/net/packetinfo.h | |
parent | 1e302305d8777da7b40b1ae53ae33eab866b9e26 (diff) | |
download | plus-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.gz plus-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.bz2 plus-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.tar.xz plus-7ccc1b5fe8988b2a51d3fb2f4422f95c98a8d6aa.zip |
Use packet handlers from packet defines.
Diffstat (limited to 'src/net/packetinfo.h')
-rw-r--r-- | src/net/packetinfo.h | 4 |
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; }; |