2019-03-26 22:04:53 +00:00
|
|
|
#ifndef WF_ADAPTER_IMPL_SERVER_H
|
|
|
|
#define WF_ADAPTER_IMPL_SERVER_H
|
|
|
|
|
2019-05-19 12:33:42 +00:00
|
|
|
#ifndef __cplusplus
|
|
|
|
#include <stdbool.h>
|
|
|
|
#endif
|
|
|
|
|
2019-03-26 22:04:53 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct wf_server;
|
|
|
|
struct wf_server_config;
|
|
|
|
|
|
|
|
extern struct wf_server * wf_impl_server_create(
|
|
|
|
struct wf_server_config * config);
|
|
|
|
|
|
|
|
extern void wf_impl_server_dispose(
|
|
|
|
struct wf_server * server);
|
|
|
|
|
2019-05-19 12:33:42 +00:00
|
|
|
extern bool wf_impl_server_is_operational(
|
|
|
|
struct wf_server * server);
|
|
|
|
|
2019-04-26 18:51:24 +00:00
|
|
|
extern void wf_impl_server_service(
|
2020-03-07 14:27:04 +00:00
|
|
|
struct wf_server * server);
|
|
|
|
|
|
|
|
extern void wf_impl_server_interrupt(
|
|
|
|
struct wf_server * server);
|
2019-03-26 22:04:53 +00:00
|
|
|
|
2020-06-12 11:32:31 +00:00
|
|
|
extern int wf_impl_server_get_port(
|
|
|
|
struct wf_server const * server);
|
|
|
|
|
2019-03-26 22:04:53 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|