]> andersk Git - moira.git/blobdiff - server/queries2.c
changes made by genoa (backing out previous change)
[moira.git] / server / queries2.c
index 294f7761b01139fdf7144c0de3a1a57f16628358..b5d74397d0c7bfe0e012f2f665f7c27e479113f5 100644 (file)
@@ -87,6 +87,7 @@ int trigger_dcm();
 int count_members_of_list();
 int get_lists_of_member();
 int register_user();
+int _sdl_followup();
 
 
 \f
@@ -337,6 +338,19 @@ static char *guan_fields[] = {
   MIT_ID, CLASS, COMMENTS, SIGNATURE, SECURE, MOD1, MOD2, MOD3,
 };
 
+static struct validate guan_validate = 
+{
+  VOwild01sort01,
+  4,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  followup_guax,
+};
+
 static char *guac_fields[] = {
   CLASS,
   LOGIN, UID, SHELL, LAST, FIRST, MIDDLE, STATUS,
@@ -2211,6 +2225,23 @@ static char *gats_fields[] = {
   "table_name", "appends", "updates", "deletes", MOD1, MOD2, MOD3,
 };
 
+static char *_sdl_fields[] = {
+    "level",
+};
+
+static struct validate _sdl_validate = 
+{
+    0,
+    0,
+    (char *)0,
+    (char *)0,
+    0,
+    0,
+    0,
+    0,
+    _sdl_followup,
+};
+
 
 \f
 /* Generalized Query Definitions */
@@ -2292,7 +2323,7 @@ struct query Queries2[] = {
     15,
     "u.first LIKE '%s' ESCAPE '*' AND u.last LIKE '%s' ESCAPE '*' AND u.users_id != 0 and u.comment = str.string_id",
     2,
-    &VDwild2sortf,
+    &guan_validate,
   },
   
   {
@@ -4185,6 +4216,21 @@ struct query Queries2[] = {
     0,
   },
 
+  {
+    /* Q__SDL - _SET_DEBUG_LEVEL */
+    "_set_debug_level",
+    "_sdl",
+    UPDATE,
+    (char *)0,
+    (char *)0,
+    (char *)0,
+    _sdl_fields,
+    1,
+    (char *)0,
+    0,
+    &_sdl_validate,
+  },
+
 };
 
 int QueryCount2 = (sizeof Queries2 / sizeof (struct query));
This page took 0.03196 seconds and 4 git commands to generate.