You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
546 B
39 lines
546 B
6 years ago
|
#ifndef WFP_OPERATION_OPEN_H
|
||
|
#define WFP_OPERATION_OPEN_H
|
||
6 years ago
|
|
||
|
#ifndef __cplusplus
|
||
|
#include <inttypes.h>
|
||
|
#else
|
||
|
#include <cinttypes>
|
||
|
#endif
|
||
|
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
6 years ago
|
#include "webfuse/provider/api.h"
|
||
6 years ago
|
|
||
6 years ago
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
6 years ago
|
struct wfp_request;
|
||
6 years ago
|
|
||
6 years ago
|
typedef void wfp_open_fn(
|
||
|
struct wfp_request * request,
|
||
6 years ago
|
ino_t inode,
|
||
|
int flags,
|
||
|
void * user_data);
|
||
|
|
||
6 years ago
|
extern WFP_API void wfp_respond_open(
|
||
|
struct wfp_request * request,
|
||
6 years ago
|
uint32_t handle);
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|