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/url.h

34 lines
415 B
C
Raw Normal View History

2019-02-25 20:35:38 +00:00
#ifndef WSFS_PROVIDER_URL_H
#define WSFS_PROVIDER_URL_H
2019-02-23 14:57:57 +00:00
#ifndef __cplusplus
#include <stdbool.h>
#endif
struct wsfsp_url
{
char * host;
int port;
char * path;
bool use_tls;
2019-02-23 14:57:57 +00:00
};
#ifdef __cplusplus
extern "C"
{
#endif
extern bool wsfsp_url_init(
struct wsfsp_url * url,
char const * value);
extern void wsfsp_url_cleanup(
struct wsfsp_url * url);
#ifdef __cplusplus
}
#endif
#endif