1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/webfuse/adapter/impl/server.h

40 lines
686 B
C
Raw Normal View History

2019-03-26 22:04:53 +00:00
#ifndef WF_ADAPTER_IMPL_SERVER_H
#define WF_ADAPTER_IMPL_SERVER_H
#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);
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(
struct wf_server * server);
extern void wf_impl_server_interrupt(
struct wf_server * server);
2019-03-26 22:04:53 +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