0
|
1 |
#ifndef EVFUSE_H
|
|
2 |
#define EVFUSE_H
|
|
3 |
|
1
|
4 |
#define FUSE_USE_VERSION 26
|
|
5 |
|
0
|
6 |
#include <event2/event.h>
|
1
|
7 |
#include <fuse/fuse_lowlevel.h>
|
0
|
8 |
|
|
9 |
/*
|
|
10 |
* A wrapper for the fuse + libevent context
|
|
11 |
*/
|
|
12 |
struct evfuse;
|
|
13 |
|
|
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);
|
|
18 |
|
3
|
19 |
/*
|
27
|
20 |
* Close and free evfuse context.
|
|
21 |
*
|
|
22 |
* Safe to call after errors/llops.destroy
|
3
|
23 |
*/
|
27
|
24 |
void evfuse_free (struct evfuse *ctx);
|
3
|
25 |
|
1
|
26 |
#endif /* EVFUSE_H */
|
3
|
27 |
|