get_subcontainers_of_container,
};
+static char *gtlc_fields[] = {
+ "name",
+};
+
+
/* Generalized Query Definitions */
/* Multiple versions of the same query MUST be listed in ascending
&gsoc_validate,
},
+ {
+ /* Q_GTLC - GET_TOPLEVEL_CONTAINERS, v8 */
+ "get_toplevel_containers",
+ "gtlc",
+ 8,
+ RETRIEVE,
+ "c",
+ CONTAINERS_TABLE,
+ "name FROM containers",
+ gtlc_fields,
+ 1,
+ "name NOT LIKE '%%/%%'",
+ 0,
+ "name",
+ NULL,
+ },
+
};
int QueryCount = (sizeof(Queries) / sizeof(struct query));