From 90fe13932e1afd3e19f708b833609fb8ade20634 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 17 May 2008 12:26:57 +0000 Subject: *** empty log message *** --- eio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eio.h') diff --git a/eio.h b/eio.h index d08059f..687fcad 100644 --- a/eio.h +++ b/eio.h @@ -69,7 +69,7 @@ enum { EIO_MKNOD, EIO_READDIR, EIO_LINK, EIO_SYMLINK, EIO_READLINK, EIO_GROUP, EIO_NOP, - EIO_BUSY, + EIO_BUSY, EIO_CUSTOM }; typedef double eio_tstamp; /* feel free to use double in your code directly */ @@ -116,8 +116,7 @@ enum { enum { EIO_PRI_MIN = -4, EIO_PRI_MAX = 4, - - EIO_PRI_DEFAULT = 0, + EIO_PRI_DEFAULT = 0, }; /* returns < 0 on error, errno set @@ -184,6 +183,7 @@ eio_req *eio_mknod (const char *path, mode_t mode, dev_t dev, int pri, eio_c eio_req *eio_link (const char *path, const char *new_path, int pri, eio_cb cb, void *data); eio_req *eio_symlink (const char *path, const char *new_path, int pri, eio_cb cb, void *data); eio_req *eio_rename (const char *path, const char *new_path, int pri, eio_cb cb, void *data); +eio_req *eio_custom (eio_cb execute, int pri, eio_cb cb, void *data); #endif /*****************************************************************************/ -- cgit v1.2.3