File: operations.h

package info (click to toggle)
rdiff-backup-fs 1.0.0-8
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: sh: 3,800; ansic: 2,944; makefile: 23
file content (22 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _OPERATIONS_H_
#define _OPERATIONS_H_

#define FUSE_USE_VERSION 26

#include <fuse.h>

int revs_getattr(const char *path, struct stat *stbuf);

int revs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);

int revs_readlink(const char *, char *, size_t);

int revs_open(const char *path, struct fuse_file_info *fi);

int revs_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi);

int revs_release(const char *path, struct fuse_file_info *fi);

void revs_destroy(void *);

#endif