summaryrefslogtreecommitdiff
path: root/eio.h
diff options
context:
space:
mode:
authorroot <root>2008-05-13 18:54:52 +0000
committerroot <root>2008-05-13 18:54:52 +0000
commit760ff454608d7b39f8667f03ad9c89e729a06815 (patch)
treee987d695979ce6edc650321939181f23b2761b71 /eio.h
parentb75e590990962d7d68829a222860b146dc1f3a7f (diff)
*** empty log message ***
Diffstat (limited to 'eio.h')
-rw-r--r--eio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/eio.h b/eio.h
index 2da2557..efc4c8f 100644
--- a/eio.h
+++ b/eio.h
@@ -115,6 +115,7 @@ unsigned int eio_nthreads (void); /* number of worker threads in use currently *
/*****************************************************************************/
/* high-level request API */
+#ifndef EIO_NO_WRAPPERS
eio_req *eio_nop (int pri, eio_cb cb, void *data); /* does nothing except go through the whole process */
eio_req *eio_busy (eio_tstamp delay, int pri, eio_cb cb, void *data); /* ties a thread for this long, simulating busyness */
eio_req *eio_sync (int pri, eio_cb cb, void *data);
@@ -147,6 +148,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);
+#endif
/* for groups */
eio_req *eio_grp (eio_cb cb, void *data);