Lines Matching defs:grade

54  *		to use a service grade queue.
84 * to determine if the user can queue to a particular service grade.
88 * SUCCESS - if the user can queue to the service grade.
89 * FAIL - if the user can not queue to this service grade.
114 DEBUG(9, "Members of administrator defined service grade (%s)\n", carray[G_EXT]);
143 /* Check for the default service grade first */
146 scfile->grade = fdgrade();
150 /* open grades file to begin a linear for the grade requested */
154 /* loop until the file is empty or we find the grade we want */
159 /* check to see if this is the grade we want */
166 scfile->grade = *carray[G_INT];
175 " allowed into this service grade (%s).\n"
176 "Job queued to default grade.\n"),
179 scfile->grade = fdgrade();
198 /* Check for the default grade first */
211 * a default grade for the machine.
537 * to use administrator defined service grade.
540 * SUCCESS -> if the user can queue to this service grade.
541 * FAIL -> if the user cannot queue to this service grade.
582 * vergrd - verify if the grade name is a valid administrator
583 * defined service grade name and if the user has the
584 * appropiate permission to use this grade.
587 * SUCCESS -> grade is valid and user is
588 * permitted to use this grade.
594 vergrd(grade)
595 char *grade;
602 /* Check for the default grade first */
604 if (EQUALS(grade, "default"))
607 /* open grades file to begin a linear for the grade requested */
611 /* loop until the file is empty or we find the grade we want */
616 /* check to see if this is the grade we want */
618 if (!EQUALS(grade, carray[G_EXT]))
621 /* check for the permission on this grade */
630 " permission to use this service grade (%s).\n"
633 " you can queue to.\n"), grade);
641 "Service grade (%s) does not exist on this machine."
644 " this machine.\n"), grade);
708 * findgrade - finds the highest priority job grade that is not locked
711 * job grade name is null, if no job grade is found.