mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
33 lines
500 B
C
33 lines
500 B
C
#ifndef WSFSP_OPERATION_LOOKUP_H
|
|
#define WSFSP_OPERATION_LOOKUP_H
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
|
|
#include "wsfsp/api.h"
|
|
|
|
struct wsfsp_request;
|
|
|
|
typedef void wsfsp_lookup_fn(
|
|
struct wsfsp_request * request,
|
|
ino_t parent,
|
|
char const * name,
|
|
void * user_data);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern WSFSP_API void wsfsp_respond_lookup(
|
|
struct wsfsp_request * request,
|
|
struct stat const * stat);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|