catalog
struct catalog *p;
p = Xcalloc(1, sizeof (struct catalog));
struct catalog *tmp;
tmp = Xcalloc(1, sizeof (struct catalog));
static struct catalog *cur_catalog = NULL;
struct catalog *catalog_head = NULL;
struct catalog *next; /* next catalog */
extern struct messages *search_msg(struct catalog *,
extern struct catalog *catalog_head;
search_msg(struct catalog *p, const char *id, unsigned int hash_val)
struct catalog *p, *op;
search_msg(struct catalog *p, const char *id, unsigned int hash_val)
struct catalog *p, *op;
while (catalog[i].type != EXD_NONE) {
if (catalog[i].type == type)
return (catalog[i].name);
static catalog_item_t catalog[] = {
extern char *m_nlspath(const char* catalog, int mode);
ea_alloc_item(ea_catalog_t catalog, void *buf, size_t bufsz)
(void) ea_set_item(item, catalog, buf, bufsz);
ea_alloc_group(ea_catalog_t catalog)
(void) ea_set_group(group, catalog);
ea_attach_item(ea_object_t *grp, void *buf, size_t bufsz, ea_catalog_t catalog)
item = ea_alloc_item(catalog, buf, bufsz);