terom@28: #ifndef DBFS_H terom@28: #define DBFS_H terom@28: terom@28: #include "evfuse.h" terom@28: terom@28: /* terom@28: * External interface for dbfs terom@28: */ terom@28: terom@28: /* terom@28: * Context struct. terom@28: */ terom@28: struct dbfs; terom@28: terom@28: /* terom@28: * Create the evsql and evfuse contexts and run the fs terom@28: */ terom@30: struct dbfs *dbfs_new (struct event_base *ev_base, struct fuse_args *args, const char *db_conninfo); terom@28: terom@28: /* terom@28: * Release the dbfs's resources and free it terom@28: */ terom@30: void dbfs_free (struct dbfs *ctx); terom@28: terom@28: #endif /* DBFS_H */