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/wsfsp/operation/open.h
2019-02-24 18:03:22 +01:00

39 lines
551 B
C

#ifndef WSFSP_OPERATION_OPEN_H
#define WSFSP_OPERATION_OPEN_H
#ifndef __cplusplus
#include <inttypes.h>
#else
#include <cinttypes>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "wsfsp/api.h"
struct wsfsp_request;
typedef void wsfsp_open_fn(
struct wsfsp_request * request,
ino_t inode,
int flags,
void * user_data);
#ifdef __cplusplus
extern "C"
{
#endif
extern WSFSP_API void wsfsp_respond_open(
struct wsfsp_request * request,
uint32_t handle);
#ifdef __cplusplus
}
#endif
#endif