2019-02-16 15:08:17 +00:00
|
|
|
#ifndef _WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
#define _WSFSP_CLIENT_PROTOCOL_H
|
|
|
|
|
2019-02-18 22:30:39 +00:00
|
|
|
#include "wsfsp/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
|