23 #include <proton/import_export.h>
46 PN_DEPRECATED(
"Use a third-party URL library")
67 PN_DEPRECATED("Use a third-party URL library")
73 PN_DEPRECATED("Use a third-party URL library")
79 PN_DEPRECATED("Use a third-party URL library")
88 PN_DEPRECATED("Use a third-party URL library")
98 PN_DEPRECATED("Use a third-party URL library")
99 PNX_EXTERN const
char *pn_url_get_scheme(
pn_url_t *url);
100 PN_DEPRECATED("Use a third-party URL library")
101 PNX_EXTERN const
char *pn_url_get_username(
pn_url_t *url);
102 PN_DEPRECATED("Use a third-party URL library")
103 PNX_EXTERN const
char *pn_url_get_password(
pn_url_t *url);
104 PN_DEPRECATED("Use a third-party URL library")
105 PNX_EXTERN const
char *pn_url_get_host(
pn_url_t *url);
106 PN_DEPRECATED("Use a third-party URL library")
107 PNX_EXTERN const
char *pn_url_get_port(
pn_url_t *url);
108 PN_DEPRECATED("Use a third-party URL library")
109 PNX_EXTERN const
char *pn_url_get_path(
pn_url_t *url);
122 PN_DEPRECATED("Use a third-party URL library")
123 PNX_EXTERN
void pn_url_set_scheme(
pn_url_t *url, const
char *scheme);
124 PN_DEPRECATED("Use a third-party URL library")
125 PNX_EXTERN
void pn_url_set_username(
pn_url_t *url, const
char *username);
126 PN_DEPRECATED("Use a third-party URL library")
127 PNX_EXTERN
void pn_url_set_password(
pn_url_t *url, const
char *password);
128 PN_DEPRECATED("Use a third-party URL library")
129 PNX_EXTERN
void pn_url_set_host(
pn_url_t *url, const
char *host);
130 PN_DEPRECATED("Use a third-party URL library")
131 PNX_EXTERN
void pn_url_set_port(
pn_url_t *url, const
char *port);
132 PN_DEPRECATED("Use a third-party URL library")
133 PNX_EXTERN
void pn_url_set_path(
pn_url_t *url, const
char *path);
void pn_url_clear(pn_url_t *url)
Clear the contents of the URL.
const char * pn_url_str(pn_url_t *url)
Return the string form of a URL.
pn_url_t * pn_url(void)
Create an empty URL.
pn_url_t * pn_url_parse(const char *url)
Parse a string URL as a pn_url_t.
void pn_url_free(pn_url_t *url)
Free a URL.
struct pn_url_t pn_url_t
A parsed URL.
Definition: url.h:41