/usr/include/zorp/zurlparse.h is in libzorpll-dev 3.9.1.3-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 | #ifndef ZORP_ZURLPARSE_H_INCLUDED
#define ZORP_ZURLPARSE_H_INCLUDED
#include <zorp/zorplib.h>
#define ZURL_ERROR z_url_error_quark()
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);
#endif
|