1
0
mirror of https://github.com/falk-werner/webfuse synced 2025-06-13 04:44:22 +00:00
falk-werner_webfuse/lib/wsfs/provider/impl/url.h

33 lines
449 B
C
Raw Normal View History

#ifndef WSFS_PROVIDER_IMPL_URL_H
#define WSFS_PROVIDER_IMPL_URL_H
2019-02-23 14:57:57 +00:00
#ifndef __cplusplus
#include <stdbool.h>
#endif
#ifdef __cplusplus
extern "C"
{
#endif
struct wsfsp_impl_url
2019-02-23 14:57:57 +00:00
{
char * host;
int port;
char * path;
bool use_tls;
2019-02-23 14:57:57 +00:00
};
extern bool wsfsp_impl_url_init(
struct wsfsp_impl_url * url,
2019-02-23 14:57:57 +00:00
char const * value);
extern void wsfsp_impl_url_cleanup(
struct wsfsp_impl_url * url);
2019-02-23 14:57:57 +00:00
#ifdef __cplusplus
}
#endif
#endif