aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-09-16 08:42:40 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-09-16 08:42:40 +0000
commitb2cf9561fe5c0615aff91c29d89849c4bf6d8131 (patch)
tree763ae449e8166ce9018b51770cbb0470579cf9c1 /include
parent65afea1f884716488005321d54dcdb147dd16d2e (diff)
downloadlibfuse-b2cf9561fe5c0615aff91c29d89849c4bf6d8131.tar.gz
fix
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/fuse.h b/include/fuse.h
index 845e645..81ef0d4 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -231,8 +231,9 @@ void fuse_destroy(struct fuse *f);
* operations are called.
*
* @param f the FUSE handle
+ * @return 0 if no error occured, -1 otherwise
*/
-void fuse_loop(struct fuse *f);
+int fuse_loop(struct fuse *f);
/**
* Exit from event loop
@@ -252,8 +253,9 @@ void fuse_exit(struct fuse *f);
* the application.
*
* @param f the FUSE handle
+ * @return 0 if no error occured, -1 otherwise
*/
-void fuse_loop_mt(struct fuse *f);
+int fuse_loop_mt(struct fuse *f);
/**
* Get the current context
@@ -284,7 +286,7 @@ struct fuse_cmd;
typedef void (*fuse_processor_t)(struct fuse *, struct fuse_cmd *, void *);
struct fuse_cmd *__fuse_read_cmd(struct fuse *f);
void __fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd);
-void __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
+int __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
int __fuse_exited(struct fuse* f);
#ifdef __cplusplus