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 56
 } modparam_t;       /* Allowed types of parameters */
56 57
 
57 58
 
59
+#define REQUEST_ROUTE 1         /* Function can be used in request route blocks */
60
+
58 61
 struct cmd_export_ {
59 62
 	char* name;             /* null terminated command name */
60 63
 	cmd_function function;  /* pointer to the corresponding function */
61 64
 	int param_no;           /* number of parameters used by the function */
62 65
 	fixup_function fixup;   /* pointer to the function called to "fix" the
63 66
 							   parameters */
67
+	int flags;              /* Function flags */
64 68
 };
65 69
 
66 70