(EFF_STATIC): New.
(empfile): Use it. (ef_open): Oops on it (not implemented). (ef_close): Implement it (trivial).
This commit is contained in:
parent
62c80be94c
commit
babf467e15
3 changed files with 27 additions and 17 deletions
|
@ -73,6 +73,7 @@ struct empfile {
|
|||
/* Create table file, clobbering any existing file */
|
||||
#define EFF_CREATE bit(5)
|
||||
/* Table is allocated statically */
|
||||
#define EFF_STATIC bit(6)
|
||||
|
||||
/* Flags that may be passed to ef_open() */
|
||||
#define EFF_OPEN (EFF_MEM | EFF_RDONLY | EFF_CREATE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue