New struct empfile callback onresize

This commit is contained in:
Markus Armbruster 2008-09-06 13:58:15 -04:00
parent a1f20efd02
commit f21cb48f69
3 changed files with 30 additions and 15 deletions

View file

@ -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 {