2019-02-16 15:08:17 +00:00
|
|
|
#ifndef _WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
#define _WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
|
|
|
|
#include "wsfs/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);
|
|
|
|
|
2019-02-16 15:28:14 +00:00
|
|
|
extern WSFSP_API void wsfsp_client_protocol_dispose(
|
2019-02-16 15:08:17 +00:00
|
|
|
struct wsfsp_client_protocol * protocol);
|
|
|
|
|
2019-02-16 15:28:14 +00:00
|
|
|
extern WSFSP_API void wsfsp_client_protocol_init_lws(
|
|
|
|
struct wsfsp_client_protocol * protocol,
|
2019-02-16 15:08:17 +00:00
|
|
|
struct lws_protocols * lws_protocol);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|