started to write the fuse interface
This commit is contained in:
parent
8eef21ecec
commit
8926119400
|
@ -0,0 +1,19 @@
|
||||||
|
#include <fuse_lowlevel.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
|
#include "network.h"
|
||||||
|
#include "fuse_local.h"
|
||||||
|
|
||||||
|
static struct fuse_lowlevel_ops fs_ops = {
|
||||||
|
.lookup = fs_lookup,
|
||||||
|
.getattr = fs_getattr,
|
||||||
|
.readdir = fs_readdir,
|
||||||
|
.open = fs_open,
|
||||||
|
.read = fs_read,
|
||||||
|
};
|
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef FUSE_H
|
||||||
|
#define FUSE_H
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue