/usr/include/zorp/zurlparse.h is in libzorpll-6.0-10-dev 6.0.10.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef ZORP_ZURLPARSE_H_INCLUDED
#define ZORP_ZURLPARSE_H_INCLUDED
#include <zorp/zorplib.h>
#define ZURL_ERROR z_url_error_quark()
#ifdef __cplusplus
extern "C" {
#endif
GQuark z_url_error_quark(void);
enum ZURLError
{
ZURL_ERROR_FAILED,
};
typedef struct _ZURL
{
/* all gstrings below might contain NUL characters as they store the URL-decoded form */
GString *scheme;
GString *user;
GString *passwd;
GString *host;
guint port;
GString *file;
} ZURL;
gboolean z_url_parse(ZURL *self, const gchar *url_str, GError **error);
void z_url_init(ZURL *self);
void z_url_free(ZURL *self);
#ifdef __cplusplus
}
#endif
#endif
|