X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/59c3208b3b5a7b09f5f7cf04f225600008327cc1..668277bebdb304516895a949e8d01503bd859331:/server/mr_server.h?ds=sidebyside diff --git a/server/mr_server.h b/server/mr_server.h index 72beb70b..4c11f46f 100644 --- a/server/mr_server.h +++ b/server/mr_server.h @@ -49,7 +49,7 @@ extern char krb_realm[REALM_SZ]; /* max length of query argument allowed */ #define ARGLEN 257 /* Used to setup static argv, maximum argc */ -#define QMAXARGS 22 +#define QMAXARGS 25 /* statistics on number of queries by version number */ extern int newqueries; @@ -151,6 +151,9 @@ int access_host(struct query *q, char *argv[], client *cl); int access_ahal(struct query *q, char *argv[], client *cl); int access_snt(struct query *q, char *argv[], client *cl); int access_printer(struct query *q, char *argv[], client *cl); +int access_zephyr(struct query *q, char *argv[], client *cl); +int access_container(struct query *q, char *argv[], client *cl); +int access_update_user(struct query *q, char *argv[], client *cl); /* prototypes from qfollow.pc */ int followup_fix_modby(struct query *q, struct save_queue *sq, @@ -186,6 +189,12 @@ int followup_ghst(struct query *q, struct save_queue *sq, struct validate *v, int followup_gpsv(struct query *q, struct save_queue *sq, struct validate *v, int (*action)(int, char **, void *), void *actarg, client *cl); +int followup_gcon(struct query *q, struct save_queue *sq, struct validate *v, + int (*action)(int, char **, void *), void *actarg, + client *cl); +int followup_get_user(struct query *q, struct save_queue *sq, + struct validate *v, int (*action)(int, char **, void *), + void *actarg, client *cl); int followup_ausr(struct query *q, char *argv[], client *cl); int followup_aqot(struct query *q, char *argv[], client *cl); @@ -224,12 +233,17 @@ int setup_dfil(struct query *q, char *argv[], client *cl); int setup_aftg(struct query *q, char *argv[], client *cl); int setup_dnfp(struct query *q, char *argv[], client *cl); int setup_dqot(struct query *q, char *argv[], client *cl); +int setup_asnt(struct query *q, char *argv[], client *cl); int setup_dsnt(struct query *q, char *argv[], client *cl); +int setup_ghst(struct query *q, char *argv[], client *cl); int setup_ahst(struct query *q, char *argv[], client *cl); int setup_ahal(struct query *q, char *argv[], client *cl); int setup_uhha(struct query *q, char *argv[], client *cl); int setup_aprn(struct query *q, char *argv[], client *cl); int setup_dpsv(struct query *q, char *argv[], client *cl); +int setup_dcon(struct query *q, char *argv[], client *cl); +int setup_acon(struct query *q, char *argv[], client *cl); +int setup_scli(struct query *q, char *argv[], client *cl); /* prototypes from qsupport.pc */ int set_pobox(struct query *q, char *argv[], client *cl); @@ -239,6 +253,8 @@ int delete_member_from_list(struct query *q, char *argv[], client *cl); int tag_member_of_list(struct query *q, char *argv[], client *cl); int register_user(struct query *q, char *argv[], client *cl); int do_user_reservation(struct query *q, char *argv[], client *cl); +int update_container(struct query *q, char *argv[], client *cl); +int set_container_list(struct query *q, char *argv[], client *cl); int get_ace_use(struct query *q, char **argv, client *cl, int (*action)(int, char *[], void *), void *actarg); @@ -262,6 +278,13 @@ int get_user_reservations(struct query *q, char **argv, client *cl, int get_user_by_reservation(struct query *q, char **argv, client *cl, int (*action)(int, char *[], void *), void *actarg); +int get_machines_of_container(struct query *q, char **argv, client *cl, + int (*action)(int, char *[], void *), + void *actarg); +int get_subcontainers_of_container(struct query *q, char **argv, client *cl, + int (*action)(int, char *[], void *), + void *actarg); + /* prototypes from qvalidate.pc */ int validate_fields(struct query *q, char *argv[], struct valobj *vo, int n);