src/dbfs.h
author Tero Marttila <terom@fixme.fi>
Sat, 13 Dec 2008 20:58:27 +0200
branchnew-evsql
changeset 55 0b92d553400a
parent 28 e944453ca924
permissions -rw-r--r--
evsql: more improvements
     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 */