mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
30 lines
465 B
C
30 lines
465 B
C
#ifndef WF_ADAPTER_SERVER_H
|
|
#define WF_ADAPTER_SERVER_H
|
|
|
|
#include "webfuse/adapter/api.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
struct wf_server;
|
|
struct wf_server_config;
|
|
|
|
extern WF_API struct wf_server * wf_server_create(
|
|
struct wf_server_config * config);
|
|
|
|
extern WF_API void wf_server_dispose(
|
|
struct wf_server * server);
|
|
|
|
extern WF_API void wf_server_service(
|
|
struct wf_server * server,
|
|
int timeout_ms);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|