1
0
mirror of https://github.com/falk-werner/webfuse synced 2025-06-10 03:14:21 +00:00
falk-werner_webfuse/include/wsfs/adapter/server.h
Falk Werner 1c9d1c8420
feat(API wrapper): separates implementation from public API
* moves implementation to impl subdirectory
* adds prefix _impl to implementation symbols
* removes double compilation for shared and static libraries
* fixes include guards
* fixes usage of extern "C"
2019-03-26 15:35:33 +01:00

32 lines
548 B
C

#ifndef WSFS_ADAPTER_SERVER_H
#define WSFS_ADAPTER_SERVER_H
#include "wsfs/adapter/api.h"
#ifdef __cplusplus
extern "C"
{
#endif
struct wsfs_server;
struct wsfs_server_config;
extern WSFSA_API struct wsfs_server * wsfs_server_create(
struct wsfs_server_config * config);
extern WSFSA_API void wsfs_server_dispose(
struct wsfs_server * server);
extern WSFSA_API void wsfs_server_run(
struct wsfs_server * server);
extern WSFSA_API void wsfs_server_shutdown(
struct wsfs_server * server);
#ifdef __cplusplus
}
#endif
#endif