Lines Matching refs:ctab
69 struct ctab { struct
454 if (((const struct ctab *)node1)->ct_uid > in node_compare()
455 ((const struct ctab *)node2)->ct_uid) in node_compare()
457 else if (((const struct ctab *)node1)->ct_uid < in node_compare()
458 ((const struct ctab *)node2)->ct_uid) in node_compare()
469 struct ctab **pt; in enter()
471 if ((pctab = (struct ctab *)malloc(sizeof (struct ctab))) == NULL) { in enter()
482 if (*(pt = (struct ctab **)tsearch((void *)pctab, (void **)&root, \ in enter()
501 tb.ta_uid = (*(struct ctab **)node)->ct_uid; in print_node()
502 CPYN(tb.ta_name, (*(struct ctab **)node)->ct_name); in print_node()
503 tb.ta_con[0] = ((*(struct ctab **)node)->ct_con[0]) / 60.0; in print_node()
504 tb.ta_con[1] = ((*(struct ctab **)node)->ct_con[1]) / 60.0; in print_node()
505 tb.ta_sc = (*(struct ctab **)node)->ct_sess; in print_node()
513 twalk((struct ctab *)root, print_node); in output()