src/evfuse.h
author Tero Marttila <terom@fixme.fi>
Sat, 04 Oct 2008 18:07:45 +0300
changeset 12 7f159ee3a3ff
parent 3 10b53719659c
child 27 461be4cd34a3
permissions -rw-r--r--
working basic evpq lib and test
#ifndef EVFUSE_H
#define EVFUSE_H

#define FUSE_USE_VERSION 26

#include <event2/event.h>
#include <fuse/fuse_lowlevel.h>

/*
 * A wrapper for the fuse + libevent context
 */
struct evfuse;

/*
 * Create a new new evfuse context.
 */
struct evfuse *evfuse_new (struct event_base *evbase, struct fuse_args *args, struct fuse_lowlevel_ops *llops, void *cb_data);

/*
 * Close a evfuse context.
 */
void evfuse_close (struct evfuse *ctx);

#endif /* EVFUSE_H */