Lines Matching defs:catname
105 load_db(const char *curloc, const char *catname, int *err)
144 (void) strcpy(db->db_name, catname);
199 lookup_cache(struct db_info *db, const char *curloc, const char *catname)
212 if (strcmp(db->db_name, catname) == 0) {
245 * __gtxt(catname, id, dflt): Return a pointer to a message.
246 * catname is the name of the catalog. If null, the default catalog is
256 __gtxt(const char *catname, int id, const char *dflt)
273 if (!catname || !*catname) {
279 catname = cur_cat;
287 db = lookup_cache(NULL, curloc, catname);
301 db = lookup_cache(NULL, def_locale, catname);
307 db = load_db(def_locale, catname, &err);
320 * the catname for possibly different locale.
323 while ((db = lookup_cache(db, NULL, catname)) != NULL)
329 db = load_db(curloc, catname, &err);
339 db = load_db(def_locale, catname, &err);