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

33 lines
394 B
C
Raw Normal View History

2020-06-21 19:18:43 +00:00
#ifndef WFP_UTIL_URL_H
#define WFP_UTIL_URL_H
2019-02-23 14:57:57 +00:00
#ifndef __cplusplus
#include <stdbool.h>
#endif
#ifdef __cplusplus
extern "C"
{
#endif
struct wfp_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 wfp_url_init(
struct wfp_url * url,
2019-02-23 14:57:57 +00:00
char const * value);
extern void wfp_url_cleanup(
struct wfp_url * url);
2019-02-23 14:57:57 +00:00
#ifdef __cplusplus
}
#endif
#endif