src/dbfs.h
author Tero Marttila <terom@fixme.fi>
Tue, 18 Nov 2008 02:06:52 +0200
changeset 42 40a3b13ffc9d
parent 30 d8fabd347a8e
permissions -rw-r--r--
defer fuse_reply_err using event_base_once, interrupt happens without deadlock now
#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 */