GProxyResolver* purple_proxy_get_proxy_resolver ( PurpleAccount* account, GError** error )
GProxyResolver capable of resolving which proxy
to use for this account, if any. This object can be given to a
GSocketClient for automatic proxy handling or can be used
directly if desired.
The account for which to get the proxy resolver.
The data is owned by the caller of the function.
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will left initialized to
NULLby the function if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.
NULL if there was an error with the
account’s (or system) proxy settings, or a reference to
GProxyResolver on success.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|