src/evfuse.h
author Tero Marttila <terom@fixme.fi>
Tue, 07 Oct 2008 20:31:35 +0300
changeset 14 115067dfba55
parent 3 10b53719659c
child 27 461be4cd34a3
permissions -rw-r--r--
more intermediate work
#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 */