diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-13 23:15:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-13 23:15:31 +0300 |
commit | 0fc8851faef219be6a3e161946fd6a09930efeb0 (patch) | |
tree | 10e6af31050715ad1267fe87cd00b81bcb0eb2f3 /src/resources/db/networkdb.h | |
parent | db1d3323103f15c3d31378b9e94982191855d984 (diff) | |
download | mv-0fc8851faef219be6a3e161946fd6a09930efeb0.tar.gz mv-0fc8851faef219be6a3e161946fd6a09930efeb0.tar.bz2 mv-0fc8851faef219be6a3e161946fd6a09930efeb0.tar.xz mv-0fc8851faef219be6a3e161946fd6a09930efeb0.zip |
Add support for removepacket tag in network.xml
Diffstat (limited to 'src/resources/db/networkdb.h')
-rw-r--r-- | src/resources/db/networkdb.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/resources/db/networkdb.h b/src/resources/db/networkdb.h index 899fc6cda..b6eb47726 100644 --- a/src/resources/db/networkdb.h +++ b/src/resources/db/networkdb.h @@ -24,10 +24,13 @@ #include "enums/simpletypes/skiperror.h" #include <map> +#include <vector> #include <string> -typedef std::map<int32_t, int32_t> NetworkInfos; -typedef NetworkInfos::const_iterator NetworkInfosIter; +typedef std::map<int32_t, int32_t> NetworkInPacketInfos; +typedef NetworkInPacketInfos::const_iterator NetworkInPacketInfosIter; +typedef std::vector<int> NetworkRemovePacketInfos; +typedef NetworkRemovePacketInfos::const_iterator NetworkRemovePacketInfosIter; namespace NetworkDb { @@ -44,7 +47,9 @@ namespace NetworkDb */ void unload(); - const NetworkInfos &getFakePackets(); + const NetworkInPacketInfos &getFakePackets(); + + const NetworkRemovePacketInfos &getRemovePackets(); } // namespace NetworkDb #endif // RESOURCES_DB_NETWORKDB_H |