mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
33 lines
394 B
C
33 lines
394 B
C
#ifndef WFP_UTIL_URL_H
|
|
#define WFP_UTIL_URL_H
|
|
|
|
#ifndef __cplusplus
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
struct wfp_url
|
|
{
|
|
char * host;
|
|
int port;
|
|
char * path;
|
|
bool use_tls;
|
|
};
|
|
|
|
extern bool wfp_url_init(
|
|
struct wfp_url * url,
|
|
char const * value);
|
|
|
|
extern void wfp_url_cleanup(
|
|
struct wfp_url * url);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|