src/evfuse.h
author Tero Marttila <terom@fixme.fi>
Thu, 25 Sep 2008 22:16:22 +0300
changeset 3 10b53719659c
parent 1 b31db3248246
child 27 461be4cd34a3
permissions -rw-r--r--
signal handling
#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 */