Lines Matching defs:ctab
71 struct ctab {
455 if (((const struct ctab *)node1)->ct_uid >
456 ((const struct ctab *)node2)->ct_uid)
458 else if (((const struct ctab *)node1)->ct_uid <
459 ((const struct ctab *)node2)->ct_uid)
470 struct ctab **pt;
472 if ((pctab = (struct ctab *)malloc(sizeof (struct ctab))) == NULL) {
483 if (*(pt = (struct ctab **)tsearch((void *)pctab, (void **)&root, \
502 tb.ta_uid = (*(struct ctab **)node)->ct_uid;
503 CPYN(tb.ta_name, (*(struct ctab **)node)->ct_name);
504 tb.ta_con[0] = ((*(struct ctab **)node)->ct_con[0]) / 60.0;
505 tb.ta_con[1] = ((*(struct ctab **)node)->ct_con[1]) / 60.0;
506 tb.ta_sc = (*(struct ctab **)node)->ct_sess;
514 twalk((struct ctab *)root, print_node);