1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/include/wsfsp/client_protocol.h

33 lines
633 B
C
Raw Normal View History

2019-02-16 15:08:17 +00:00
#ifndef _WSFSP_CLIENT_PROTOCOL_H
#define _WSFSP_CLIENT_PROTOCOL_H
#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