]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
stg-2.409 pre-merge.
[stg.git] / projects / stargazer / plugins / capture / ether_freebsd / ether_cap.h
index 0a00cb045babf5bb7ca1324ffbe9ffada6dfde6d..b9150b8d231281b686017e761399b6ce56e9580c 100644 (file)
@@ -37,8 +37,6 @@
 #include "stg/module_settings.h"
 #include "stg/logger.h"
 
-extern "C" PLUGIN * GetPlugin();
-
 #define BUFF_LEN (128)
 
 class TRAFFCOUNTER;
@@ -100,14 +98,14 @@ public:
 
     int                 Start();
     int                 Stop();
-    int                 Reload() { return 0; }
+    int                 Reload(const MODULE_SETTINGS & /*ms*/) { return 0; }
     bool                IsRunning() { return isRunning; }
 
     void                SetSettings(const MODULE_SETTINGS & s) { settings = s; }
     int                 ParseSettings();
 
     const std::string & GetStrError() const { return errorStr; }
-    const std::string   GetVersion() const;
+    std::string         GetVersion() const;
     uint16_t            GetStartPosition() const { return 40; }
     uint16_t            GetStopPosition() const { return 40; }