| author | Tero Marttila <terom@fixme.fi> |
| Sat, 13 Dec 2008 20:58:27 +0200 | |
| branch | new-evsql |
| changeset 55 | 0b92d553400a |
| parent 28 | e944453ca924 |
| permissions | -rw-r--r-- |
1 #ifndef DBFS_H
2 #define DBFS_H
4 #include "evfuse.h"
6 /*
7 * External interface for dbfs
8 */
10 /*
11 * Context struct.
12 */
13 struct dbfs;
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);
20 /*
21 * Release the dbfs's resources and free it
22 */
23 void dbfs_free (struct dbfs *ctx);
25 #endif /* DBFS_H */