mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
33 lines
381 B
C
33 lines
381 B
C
|
#ifndef WSFSP_URL_H
|
||
|
#define WSFSP_URL_H
|
||
|
|
||
|
#ifndef __cplusplus
|
||
|
#include <stdbool.h>
|
||
|
#endif
|
||
|
|
||
|
struct wsfsp_url
|
||
|
{
|
||
|
char * host;
|
||
|
int port;
|
||
|
char * path;
|
||
|
};
|
||
|
|
||
|
#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
|