Lines Matching defs:setid
81 /* Top pointer of the setid list. */
107 add_msg(int setid, int msgid, char *msg, char *file, int line, int no_write)
111 if (si = lookup_setid(setid)) {
118 add_setid(setid, msgid, msg, file, line, no_write);
274 /* same setid & msgid, but different msg. */
350 add_setid(int setid, int msgid, char *msg, char *file, int line, int no_write)
355 if (si->id > setid) {
367 newsi->id = setid;
425 int n, setid, msgid;
433 n = sscanf(p, "%d %d", &setid, &msgid);
436 if (setid > NL_SETMAX) {
438 file, setid);
441 msgid_table[setid] = msgid;
496 get_msgid(char *file, int line, int setid, char *str)
499 int id = msgid_table[setid];
502 if (si->id == setid) {
519 setid);
523 return (msgid_table[setid] = id);
527 set_msgid(int setid, int msgid)
529 if (msgid_table[setid] < msgid) {
530 msgid_table[setid] = msgid;
559 int setid = 0, unsetid = -1, msgid = 0;
598 if (sscanf(ptr, "%*s %d", &setid) != 1) {
599 setid = 0;
620 if (setid == unsetid) {
635 add_msg(setid, msgid, msg, file, line, TRUE);
666 add_msg(setid, msgid, ptr, file, line, TRUE);