#include <glib.h>
#include "eventloop.h"
#include "account.h"
Include dependency graph for proxy.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | GaimProxyInfo |
Information on proxy settings. More... | |
Proxy structure API | |
GaimProxyInfo * | gaim_proxy_info_new (void) |
Creates a proxy information structure. | |
void | gaim_proxy_info_destroy (GaimProxyInfo *info) |
Destroys a proxy information structure. | |
void | gaim_proxy_info_set_type (GaimProxyInfo *info, GaimProxyType type) |
Sets the type of proxy. | |
void | gaim_proxy_info_set_host (GaimProxyInfo *info, const char *host) |
Sets the proxy host. | |
void | gaim_proxy_info_set_port (GaimProxyInfo *info, int port) |
Sets the proxy port. | |
void | gaim_proxy_info_set_username (GaimProxyInfo *info, const char *username) |
Sets the proxy username. | |
void | gaim_proxy_info_set_password (GaimProxyInfo *info, const char *password) |
Sets the proxy password. | |
GaimProxyType | gaim_proxy_info_get_type (const GaimProxyInfo *info) |
Returns the proxy's type. | |
const char * | gaim_proxy_info_get_host (const GaimProxyInfo *info) |
Returns the proxy's host. | |
int | gaim_proxy_info_get_port (const GaimProxyInfo *info) |
Returns the proxy's port. | |
const char * | gaim_proxy_info_get_username (const GaimProxyInfo *info) |
Returns the proxy's username. | |
const char * | gaim_proxy_info_get_password (const GaimProxyInfo *info) |
Returns the proxy's password. | |
Global Proxy API | |
GaimProxyInfo * | gaim_global_proxy_get_info (void) |
Returns gaim's global proxy information. | |
Proxy API | |
void | gaim_proxy_init (void) |
Initializes the proxy subsystem. | |
int | gaim_proxy_connect (GaimAccount *account, const char *host, int port, GaimInputFunction func, gpointer data) |
Makes a connection to the specified host and port. | |
int | gaim_proxy_connect_socks5 (GaimProxyInfo *gpi, const char *host, int port, GaimInputFunction func, gpointer data) |
Makes a connection through a SOCKS5 proxy. | |
Enumerations | |
enum | GaimProxyType { GAIM_PROXY_USE_GLOBAL = -1, GAIM_PROXY_NONE = 0, GAIM_PROXY_HTTP, GAIM_PROXY_SOCKS4, GAIM_PROXY_SOCKS5, GAIM_PROXY_USE_ENVVAR } |
A type of proxy connection. More... |
gaim
Gaim is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
A type of proxy connection.
|
|
Returns gaim's global proxy information.
|
|
Makes a connection to the specified host and port.
|
|
Makes a connection through a SOCKS5 proxy.
|
|
Destroys a proxy information structure.
|
|
Returns the proxy's host.
|
|
Returns the proxy's password.
|
|
Returns the proxy's port.
|
|
Returns the proxy's type.
|
|
Returns the proxy's username.
|
|
Creates a proxy information structure.
|
|
Sets the proxy host.
|
|
Sets the proxy password.
|
|
Sets the proxy port.
|
|
Sets the type of proxy.
|
|
Sets the proxy username.
|