Browse code

- flags parameter added to cmd_export_t - REQUEST_ROUTE defined

Jan Janak authored on 16/03/2003 20:27:55
Showing 1 changed files
... ...
@@ -31,6 +31,7 @@
31 31
  * --------
32 32
  *  2003-03-10  changed module exports interface: added struct cmd_export
33 33
  *               and param_export (andrei)
34
+ *  2003-03-16  Added flags field to cmd_export_ (janakj)
34 35
  */
35 36
 
36 37
 
... ...
@@ -55,12 +56,15 @@ typedef enum {
55 55
 } modparam_t;       /* Allowed types of parameters */
56 56
 
57 57
 
58
+#define REQUEST_ROUTE 1         /* Function can be used in request route blocks */
59
+
58 60
 struct cmd_export_ {
59 61
 	char* name;             /* null terminated command name */
60 62
 	cmd_function function;  /* pointer to the corresponding function */
61 63
 	int param_no;           /* number of parameters used by the function */
62 64
 	fixup_function fixup;   /* pointer to the function called to "fix" the
63 65
 							   parameters */
66
+	int flags;              /* Function flags */
64 67
 };
65 68
 
66 69