2019-02-22 15:59:08 +00:00
|
|
|
#ifndef WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
#define WSFSP_CLIENT_PROTOCOL_H
|
2019-02-16 15:08:17 +00:00
|
|
|
|
2019-02-25 19:17:13 +00:00
|
|
|
#include "wsfs/provider/api.h"
|
2019-02-16 15:08:17 +00:00
|
|
|
|
|
|
|
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
|