]> git.stg.codes - stg.git/blobdiff - projects/sgconf/action.h
Merge branch 'stg-2.409-radius'
[stg.git] / projects / sgconf / action.h
index b45ac4703f91867039f77f3dc8e67e67cf8b1555..940ea7f6272673bad87ab08aa12819e8e86a602f 100644 (file)
@@ -41,7 +41,7 @@ class ACTION
         virtual std::string ParamDescription() const = 0;
         virtual std::string DefaultDescription() const = 0;
         virtual OPTION_BLOCK & Suboptions() = 0;
-        virtual PARSER_STATE Parse(int argc, char ** argv) = 0;
+        virtual PARSER_STATE Parse(int argc, char ** argv, void * data = NULL) = 0;
         virtual void ParseValue(const std::string &) {}
 
         class ERROR : public std::runtime_error