]> git.stg.codes - ssmd.git/blobdiff - include/settings.h
Control dumping snmp scripts.
[ssmd.git] / include / settings.h
index e061b96d8e641fabd44ba9a4a8021ebc2b3d0e54..041453a9a3bb1cd86b2d7a21d839fc5185a40667 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __GTS_SETTINGS_H__
-#define __GTS_SETTINGS_H__
+#ifndef __SSMD_SETTINGS_H__
+#define __SSMD_SETTINGS_H__
 
 #include <string>
 
@@ -8,7 +8,7 @@
 
 namespace po = boost::program_options;
 
-namespace GTS {
+namespace SSMD {
 
 class SettingsParser;
 class Settings {
@@ -36,8 +36,13 @@ class Settings {
         unsigned upProfileId() const throw() { return _upProfileId; }
         unsigned downProfileId() const throw() { return _downProfileId; }
 
+        size_t maxACLPerPDU() const throw() { return _maxACLPerPDU; }
+
         const std::string & dataURL() const throw() { return _dataURL; }
 
+        const std::string & scriptBase() const throw() { return _scriptBase; }
+        bool dumpScripts() const throw() { return _dumpScripts; }
+
         // Setters
         void setIsHelp(bool value) throw() { _isHelp = value; }
         void setIsVersion(bool value) throw() { _isVersion = value; }
@@ -54,6 +59,8 @@ class Settings {
         void setUpProfileId(unsigned value) throw() { _upProfileId = value; }
         void setDownProfileId(unsigned value) throw() { _downProfileId = value; }
 
+        void setMaxACLPerPDU(size_t value) throw() { _maxACLPerPDU = value; }
+
         void setDataURL(const std::string & value) throw() { _dataURL = value; }
 
     private:
@@ -72,8 +79,13 @@ class Settings {
         unsigned _upProfileId;
         unsigned _downProfileId;
 
+        size_t _maxACLPerPDU;
+
         std::string _dataURL;
 
+        std::string _scriptBase;
+        bool _dumpScripts;
+
         friend class SettingsParser;
 };