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/operation/getattr.h

33 lines
489 B
C
Raw Normal View History

2019-02-24 17:03:22 +00:00
#ifndef WSFSP_OPERATION_GETATTR_H
#define WSFSP_OPERATION_GETATTR_H
#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_request;
typedef void wsfsp_getattr_fn(
struct wsfsp_request * request,
ino_t inode,
void * user_data);
#ifdef __cplusplus
extern "C"
{
#endif
extern WSFSP_API void wsfsp_respond_getattr(
struct wsfsp_request * request,
struct stat const * stat);
#ifdef __cplusplus
}
#endif
#endif