1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/wsfs/provider/impl/client.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

50 lines
1004 B
C

#ifndef WSFS_PROVIDER_IMPL_CLIENT_H
#define WSFS_PROVIDER_IMPL_CLIENT_H
#ifdef __cplusplus
extern "C"
{
#endif
struct wsfsp_client;
struct wsfsp_client_config;
extern struct wsfsp_client * wsfsp_impl_client_create(
struct wsfsp_client_config * config);
extern void wsfsp_impl_client_set_keypath(
struct wsfsp_client * client,
char * key_path);
extern void wsfsp_impl_client_set_certpath(
struct wsfsp_client * client,
char * cert_path);
extern void wsfsp_impl_client_connect(
struct wsfsp_client * client,
char const * url);
extern void wsfsp_impl_client_disconnect(
struct wsfsp_client * client);
extern void wsfsp_impl_client_settimeout(
struct wsfsp_client * client,
unsigned int timepoint);
extern void wsfsp_impl_client_dispose(
struct wsfsp_client * client);
extern void wsfsp_impl_client_run(
struct wsfsp_client * client);
extern void wsfsp_impl_client_shutdown(
struct wsfsp_client * client);
#ifdef __cplusplus
}
#endif
#endif