mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
33 lines
633 B
C
33 lines
633 B
C
#ifndef _WSFSP_CLIENT_PROTOCOL_H
|
|
#define _WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
#include "wsfsp/api.h"
|
|
|
|
struct wsfsp_client_protocol;
|
|
struct wsfsp_provider;
|
|
struct lws_protocols;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern WSFSP_API struct wsfsp_client_protocol * wsfsp_client_protocol_create(
|
|
struct wsfsp_provider const * provider,
|
|
void * user_data);
|
|
|
|
extern WSFSP_API void wsfsp_client_protocol_dispose(
|
|
struct wsfsp_client_protocol * protocol);
|
|
|
|
extern WSFSP_API void wsfsp_client_protocol_init_lws(
|
|
struct wsfsp_client_protocol * protocol,
|
|
struct lws_protocols * lws_protocol);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|