Lines Matching refs:setid
107 add_msg(int setid, int msgid, char *msg, char *file, int line, int no_write) in add_msg() argument
111 if (si = lookup_setid(setid)) { in add_msg()
118 add_setid(setid, msgid, msg, file, line, no_write); in add_msg()
350 add_setid(int setid, int msgid, char *msg, char *file, int line, int no_write) in add_setid() argument
355 if (si->id > setid) { in add_setid()
367 newsi->id = setid; in add_setid()
425 int n, setid, msgid; in read_projfile() local
433 n = sscanf(p, "%d %d", &setid, &msgid); in read_projfile()
436 if (setid > NL_SETMAX) { in read_projfile()
438 file, setid); in read_projfile()
441 msgid_table[setid] = msgid; in read_projfile()
496 get_msgid(char *file, int line, int setid, char *str) in get_msgid() argument
499 int id = msgid_table[setid]; in get_msgid()
502 if (si->id == setid) { in get_msgid()
519 setid); in get_msgid()
523 return (msgid_table[setid] = id); in get_msgid()
527 set_msgid(int setid, int msgid) in set_msgid() argument
529 if (msgid_table[setid] < msgid) { in set_msgid()
530 msgid_table[setid] = msgid; in set_msgid()
559 int setid = 0, unsetid = -1, msgid = 0; in read_msgfile() local
598 if (sscanf(ptr, "%*s %d", &setid) != 1) { in read_msgfile()
599 setid = 0; in read_msgfile()
620 if (setid == unsetid) { in read_msgfile()
635 add_msg(setid, msgid, msg, file, line, TRUE); in read_msgfile()
666 add_msg(setid, msgid, ptr, file, line, TRUE); in read_msgfile()