src/dbfs.h
author Tero Marttila <terom@fixme.fi>
Sat, 13 Dec 2008 19:55:50 +0200
branchnew-evsql
changeset 53 0d6e07f4c9a1
parent 30 d8fabd347a8e
permissions -rw-r--r--
separate evsql documentation
#ifndef DBFS_H
#define DBFS_H

#include "evfuse.h"

/*
 * External interface for dbfs
 */

/*
 * Context struct.
 */
struct dbfs;

/*
 * Create the evsql and evfuse contexts and run the fs
 */
struct dbfs *dbfs_new (struct event_base *ev_base, struct fuse_args *args, const char *db_conninfo);

/*
 * Release the dbfs's resources and free it
 */
void dbfs_free (struct dbfs *ctx);

#endif /* DBFS_H */