Lines Matching refs:class
194 * to reload the class.
199 * class, we may have trouble!
202 (void) dellist(&(CStatus[i]->class->members),
369 char *class;
374 (void) getmessage(m, S_LOAD_CLASS, &class);
375 syslog(LOG_DEBUG, "s_load_class(%s)", (class ? class : "NULL"));
377 if (!*class)
378 /* no class defined */
380 else if (!(pc = Getclass(class))) {
381 /* Strange or missing class */
392 } else if ((pcs = search_cstatus(class))) {
396 freeclass (pcs->class);
397 pcs->class = pc;
404 if (STREQU(prs->request->destination, class)) {
406 * If not still eligible for this class...
427 /* Room for new class? */
452 freeclass (pcs->class);
463 char *class;
468 (void) getmessage(m, S_UNLOAD_CLASS, &class);
469 syslog(LOG_DEBUG, "s_unload_class(%s)", (class ? class : "NULL"));
474 if (!*class || STREQU(class, NAME_ALL)) {
478 * class, we can't do it.
484 CStatus[i]->class->name)) {
498 * Have we seen this class before?
500 } else if (!(pcs = search_cstatus(class)))
504 * Is there even one request queued for this class?
510 if (STREQU(prs->request->destination, class)) {
535 char *class;
538 (void) getmessage(m, S_INQUIRE_CLASS, &class);
539 syslog(LOG_DEBUG, "s_inquire_class(%s)", (class ? class : "NULL"));
543 if (!*class || STREQU(class, NAME_ALL)) {
551 pcs->class->name, pcs->status,
555 /* inquire about a single class */
556 pcs = search_cstatus(class);
559 send(md, R_INQUIRE_CLASS, MOK, pcs->class->name, pcs->status,