1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/webfuse/core/url.h
2020-06-11 19:12:07 +02:00

33 lines
377 B
C

#ifndef WF_URL_H
#define WF_URL_H
#ifndef __cplusplus
#include <stdbool.h>
#endif
#ifdef __cplusplus
extern "C"
{
#endif
struct wf_url
{
char * host;
int port;
char * path;
bool use_tls;
};
extern bool wf_url_init(
struct wf_url * url,
char const * value);
extern void wf_url_cleanup(
struct wf_url * url);
#ifdef __cplusplus
}
#endif
#endif