1 #ifndef EL__PROTOCOL_PROXY_H
2 #define EL__PROTOCOL_PROXY_H
7 /* Checks if the passed URI has been configured to go through a proxy. The
8 * fragment is removed from the returned URI. */
9 /* If @connection_state is non-NULL it will be set to indicate what error
10 * occurred if the function returns NULL. */
11 struct uri
*get_proxy_uri(struct uri
*uri
, enum connection_state
*connection_state
);
13 /* ``Translates'' the passed URI into the URI being proxied. If it is not a
14 * proxy:// URI it will return the URI with the fragment removed. */
15 struct uri
*get_proxied_uri(struct uri
*uri
);