since: 3.0

Declaration [src]

purple_proxy_get_proxy_resolver (
  PurpleAccount* account,
  GError** error

Description [src]

Returns a 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.

Available since: 3.0



Type: PurpleAccount

The account for which to get the proxy resolver.

The data is owned by the caller of the function.

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will left initialized to NULL by 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.

Return value

Type: GProxyResolver

NULL if there was an error with the account’s (or system) proxy settings, or a reference to a GProxyResolver on success.

The caller of the function takes ownership of the data, and is responsible for freeing it.