]> git.stg.codes - stg.git/blobdiff - include/stg/traffcounter.h
Add README.md for GitHub and .travis.yml for Travis-CI
[stg.git] / include / stg / traffcounter.h
index 1962ee7a2bf07e979dcbef82aa045a1340e85e7d..97d1783752891990a0d5d6c7579f9912419b98d2 100644 (file)
@@ -25,7 +25,9 @@
 
 class TRAFFCOUNTER {
 public:
+    virtual ~TRAFFCOUNTER() {}
     virtual void Process(const RAW_PACKET & rawPacket) = 0;
+    virtual size_t RulesCount() const = 0;
 };
 
 #endif