Lines Matching refs:setid
105 add_msg(int setid, int msgid, char *msg, char *file, int line, int no_write) in add_msg() argument
109 if (si = lookup_setid(setid)) { in add_msg()
116 add_setid(setid, msgid, msg, file, line, no_write); in add_msg()
348 add_setid(int setid, int msgid, char *msg, char *file, int line, int no_write) in add_setid() argument
353 if (si->id > setid) { in add_setid()
365 newsi->id = setid; in add_setid()
423 int n, setid, msgid; in read_projfile() local
431 n = sscanf(p, "%d %d", &setid, &msgid); in read_projfile()
434 if (setid > NL_SETMAX) { in read_projfile()
436 file, setid); in read_projfile()
439 msgid_table[setid] = msgid; in read_projfile()
494 get_msgid(char *file, int line, int setid, char *str) in get_msgid() argument
497 int id = msgid_table[setid]; in get_msgid()
500 if (si->id == setid) { in get_msgid()
517 setid); in get_msgid()
521 return (msgid_table[setid] = id); in get_msgid()
525 set_msgid(int setid, int msgid) in set_msgid() argument
527 if (msgid_table[setid] < msgid) { in set_msgid()
528 msgid_table[setid] = msgid; in set_msgid()
557 int setid = 0, unsetid = -1, msgid = 0; in read_msgfile() local
596 if (sscanf(ptr, "%*s %d", &setid) != 1) { in read_msgfile()
597 setid = 0; in read_msgfile()
618 if (setid == unsetid) { in read_msgfile()
633 add_msg(setid, msgid, msg, file, line, TRUE); in read_msgfile()
664 add_msg(setid, msgid, ptr, file, line, TRUE); in read_msgfile()