| changeset 56 | 9dfc861273e5 |
| parent 42 | 40a3b13ffc9d |
| child 57 | 527d23bf6441 |
| 42:40a3b13ffc9d | 56:9dfc861273e5 |
|---|---|
1 #ifndef DBFS_H |
|
2 #define DBFS_H |
|
3 |
|
4 #include "evfuse.h" |
|
5 |
|
6 /* |
|
7 * External interface for dbfs |
|
8 */ |
|
9 |
|
10 /* |
|
11 * Context struct. |
|
12 */ |
|
13 struct dbfs; |
|
14 |
|
15 /* |
|
16 * Create the evsql and evfuse contexts and run the fs |
|
17 */ |
|
18 struct dbfs *dbfs_new (struct event_base *ev_base, struct fuse_args *args, const char *db_conninfo); |
|
19 |
|
20 /* |
|
21 * Release the dbfs's resources and free it |
|
22 */ |
|
23 void dbfs_free (struct dbfs *ctx); |
|
24 |
|
25 #endif /* DBFS_H */ |