1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/include/wsfs/provider/dirbuffer.h

33 lines
548 B
C
Raw Normal View History

2019-02-25 20:35:38 +00:00
#ifndef WSFS_PROVIDER_DIRBUFFER_H
#define WSFS_PROVIDER_DIRBUFFER_H
2019-02-24 17:03:22 +00:00
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "wsfs/provider/api.h"
2019-02-24 17:03:22 +00:00
struct wsfsp_dirbuffer;
#ifdef __cplusplus
extern "C"
{
#endif
extern WSFSP_API struct wsfsp_dirbuffer * wsfsp_dirbuffer_init(void);
extern WSFSP_API void wsfsp_dirbuffer_dispose(
struct wsfsp_dirbuffer * buffer);
extern WSFSP_API void wsfsp_dirbuffer_add(
struct wsfsp_dirbuffer * buffer,
char const * name,
ino_t inode);
#ifdef __cplusplus
}
#endif
#endif