2019-02-22 15:59:08 +00:00
|
|
|
#ifndef WSFS_SERVER_PROTOCOL_H
|
|
|
|
#define WSFS_SERVER_PROTOCOL_H
|
2019-02-05 23:58:51 +00:00
|
|
|
|
2019-02-25 19:17:13 +00:00
|
|
|
#include "wsfs/adapter/api.h"
|
2019-02-05 23:58:51 +00:00
|
|
|
|
|
|
|
struct wsfs_server_protocol;
|
|
|
|
struct lws_protocols;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern WSFS_API struct wsfs_server_protocol * wsfs_server_protocol_create(
|
|
|
|
char * mount_point);
|
|
|
|
|
|
|
|
extern WSFS_API void wsfs_server_protocol_dispose(
|
|
|
|
struct wsfs_server_protocol * protocol);
|
|
|
|
|
|
|
|
extern WSFS_API void wsfs_server_protocol_init_lws(
|
|
|
|
struct wsfs_server_protocol * protocol,
|
|
|
|
struct lws_protocols * lws_protocol);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|