| author | Tero Marttila <terom@fixme.fi> |
| Sat, 13 Dec 2008 20:58:27 +0200 | |
| branch | new-evsql |
| changeset 55 | 0b92d553400a |
| parent 3 | 10b53719659c |
| permissions | -rw-r--r-- |
1 #ifndef EVFUSE_H
2 #define EVFUSE_H
4 #define FUSE_USE_VERSION 26
6 #include <event2/event.h>
7 #include <fuse/fuse_lowlevel.h>
9 /*
10 * A wrapper for the fuse + libevent context
11 */
12 struct evfuse;
14 /*
15 * Create a new new evfuse context.
16 */
17 struct evfuse *evfuse_new (struct event_base *evbase, struct fuse_args *args, struct fuse_lowlevel_ops *llops, void *cb_data);
19 /*
20 * Close and free evfuse context.
21 *
22 * Safe to call after errors/llops.destroy
23 */
24 void evfuse_free (struct evfuse *ctx);
26 #endif /* EVFUSE_H */