use larger string heap
[rrq/fuse_xattrs.git] / binary_storage.h
1 /*
2   fuse_xattrs - Add xattrs support using sidecar files
3
4   Copyright (C) 2016  Felipe Barriga Richards <felipe {at} felipebarriga.cl>
5
6   This program can be distributed under the terms of the GNU GPL.
7   See the file COPYING.
8 */
9 #include <stdio.h>
10
11 #ifndef FUSE_XATTRS_BINARY_STORAGE_STRUCT_H
12 #define FUSE_XATTRS_BINARY_STORAGE_STRUCT_H
13
14 int binary_storage_write_key(const char *path, const char *name, const char *value, size_t size, int flags);
15 int binary_storage_read_key(const char *path, const char *name, char *value, size_t size);
16 int binary_storage_list_keys(const char *path, char *list, size_t size);
17 int binary_storage_remove_key(const char *path, const char *name);
18
19 #endif //FUSE_XATTRS_BINARY_STORAGE_STRUCT_H