New struct empfile callback onresize
This commit is contained in:
parent
a1f20efd02
commit
f21cb48f69
3 changed files with 30 additions and 15 deletions
|
@ -77,6 +77,11 @@ struct empfile {
|
|||
* visible to caller of ef_write() and are written to the file.
|
||||
*/
|
||||
void (*prewrite)(int id, void *old, void *elt);
|
||||
/*
|
||||
* Called after table size changed, with file type as argument.
|
||||
* Return -1 and set errno to make the operation fail.
|
||||
*/
|
||||
int (*onresize)(int type);
|
||||
};
|
||||
|
||||
struct emptypedstr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue