(empfile[]) Add table of tables to empfile[].
This commit is contained in:
parent
c4c46190bf
commit
29d21997b9
4 changed files with 13 additions and 0 deletions
|
@ -51,6 +51,7 @@
|
|||
#include "commodity.h"
|
||||
#include "lost.h"
|
||||
#include "product.h"
|
||||
#include "file.h"
|
||||
|
||||
#define fldoff(str, fld) offsetof(struct str, fld)
|
||||
|
||||
|
@ -495,3 +496,10 @@ struct castr rpt_ca[] = {
|
|||
{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}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue