mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
1c9d1c8420
* moves implementation to impl subdirectory * adds prefix _impl to implementation symbols * removes double compilation for shared and static libraries * fixes include guards * fixes usage of extern "C"
33 lines
612 B
C
33 lines
612 B
C
#ifndef WSFS_PROVIDER_IMPL_OPERATION_READ_H
|
|
#define WSFS_PROVIDER_IMPL_OPERATION_READ_H
|
|
|
|
#include "wsfs/provider/impl/provider.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern void wsfsp_impl_respond_read(
|
|
struct wsfsp_request * request,
|
|
char const * data,
|
|
size_t length);
|
|
|
|
extern void wsfsp_impl_read(
|
|
struct wsfsp_impl_invokation_context * context,
|
|
json_t * params,
|
|
int id);
|
|
|
|
extern void wsfsp_impl_read_default(
|
|
struct wsfsp_request * request,
|
|
ino_t inode,
|
|
uint32_t handle,
|
|
size_t offset,
|
|
size_t length,
|
|
void * user_data);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |