Lines Matching refs:catname
104 load_db(const char *curloc, const char *catname, int *err)
143 (void) strcpy(db->db_name, catname);
198 lookup_cache(struct db_info *db, const char *curloc, const char *catname)
211 if (strcmp(db->db_name, catname) == 0) {
244 * __gtxt(catname, id, dflt): Return a pointer to a message.
245 * catname is the name of the catalog. If null, the default catalog is
255 __gtxt(const char *catname, int id, const char *dflt)
271 if (!catname || !*catname) {
277 catname = cur_cat;
284 db = lookup_cache(NULL, curloc, catname);
298 db = lookup_cache(NULL, def_locale, catname);
304 db = load_db(def_locale, catname, &err);
317 * the catname for possibly different locale.
320 while ((db = lookup_cache(db, NULL, catname)) != NULL)
326 db = load_db(curloc, catname, &err);
336 db = load_db(def_locale, catname, &err);