1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/wsfs/provider/provider_intern.h

38 lines
678 B
C
Raw Normal View History

2019-02-25 20:35:38 +00:00
#ifndef WSFS_PROVIDER_PROVIDER_INTERN_H
#define WSFS_PROVIDER_PROVIDER_INTERN_H
2019-02-24 17:03:22 +00:00
#include "wsfs/provider/provider.h"
#include "wsfs/provider/request.h"
2019-02-24 19:06:16 +00:00
2019-02-24 17:03:22 +00:00
#include <jansson.h>
struct wsfsp_invokation_context
{
struct wsfsp_provider * provider;
void * user_data;
struct wsfsp_request * request;
};
#ifdef __cplusplus
extern "C"
{
#endif
extern void wsfsp_provider_invoke(
struct wsfsp_invokation_context * context,
json_t * request);
extern void wsfsp_connected_default(
void * user_data);
extern void wsfsp_disconnected_default(
void * user_data);
extern void wsfsp_ontimer_default(
void * user_data);
2019-02-24 17:03:22 +00:00
#ifdef __cplusplus
}
#endif
#endif