]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h
Merge branch 'stg-2.409-radius'
[stg.git] / projects / stargazer / plugins / capture / divert_freebsd / divert_cap.h
index 25fd29c24cba2079ed4d413b6e0930cafc74aad7..d8f4d6f82428db536a72503e1d45401587b9a538 100644 (file)
@@ -41,8 +41,6 @@ class ADMINS;
 class TRAFFCOUNTER;
 class SETTINGS;
 
-extern "C" PLUGIN * GetPlugin();
-
 //-----------------------------------------------------------------------------
 class DIVERT_CAP : public PLUGIN {
 public:
@@ -53,13 +51,13 @@ 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; }