#define EF_ITEM 21
#define EF_INFRASTRUCTURE 22
#define EF_PRODUCT 23
+#define EF_TABLE 24
#define EF_NMAP 222 /* Kinda bogus, but used to describe a newdesmap
instead of bmap or map. */
extern struct castr nat_ca[];
extern struct castr intrchr_ca[];
extern struct castr rpt_ca[];
+extern struct castr empfile_ca[];
/* src/lib/subs/nstr.c */
extern int nstr_comp(struct nscstr *np, int len, int type, char *str);
{"product", NULL, EFF_MEM,
0, sizeof(pchr[0]), NULL, NULL, NULL,
-1, -1, 0, 0, (char *)pchr, 0, pchr_ca},
+ {"table", NULL, EFF_MEM,
+ 0, sizeof(empfile[0]), NULL, NULL, NULL,
+ -1, -1, 0, 0, (char *)empfile, 0, empfile_ca},
/* Sentinel */
{NULL, NULL, 0,
#include "commodity.h"
#include "lost.h"
#include "product.h"
+#include "file.h"
#define fldoff(str, fld) offsetof(struct str, fld)
{NSC_NOTYPE, 0, 0, 0, NULL}
};
+struct castr empfile_ca[] = {
+ {NSC_STRING, 0, 0, offsetof(struct empfile, name), "name"},
+ {NSC_STRING, 0, 0, offsetof(struct empfile, file), "file_name"},
+ {NSC_INT, 0, 0, offsetof(struct empfile, flags), "flags"},
+ {NSC_NOTYPE, 0, 0, 0, NULL}
+};
+