| 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 23 */ |
23 */ |
| 24 #ifndef _GAIM_PROXY_H_ |
24 #ifndef _GAIM_PROXY_H_ |
| 25 #define _GAIM_PROXY_H_ |
25 #define _GAIM_PROXY_H_ |
| 26 |
26 |
| 27 #include <sys/types.h> |
|
| 28 /*this must happen before sys/socket.h or freebsd won't compile*/ |
|
| 29 |
|
| 30 #ifndef _WIN32 |
|
| 31 # include <sys/socket.h> |
|
| 32 # include <netdb.h> |
|
| 33 # include <netinet/in.h> |
|
| 34 #else |
|
| 35 # include <winsock.h> |
|
| 36 #endif |
|
| 37 |
|
| 38 #include <glib.h> |
27 #include <glib.h> |
| 39 |
|
| 40 #include "account.h" |
|
| 41 |
28 |
| 42 /** |
29 /** |
| 43 * A type of proxy connection. |
30 * A type of proxy connection. |
| 44 */ |
31 */ |
| 45 typedef enum |
32 typedef enum |
| 76 |
63 |
| 77 } GaimProxyInfo; |
64 } GaimProxyInfo; |
| 78 |
65 |
| 79 typedef void (*GaimInputFunction)(gpointer, gint, GaimInputCondition); |
66 typedef void (*GaimInputFunction)(gpointer, gint, GaimInputCondition); |
| 80 |
67 |
| |
68 |
| |
69 #include "account.h" |
| |
70 |
| 81 /**************************************************************************/ |
71 /**************************************************************************/ |
| 82 /** @name Proxy structure API */ |
72 /** @name Proxy structure API */ |
| 83 /**************************************************************************/ |
73 /**************************************************************************/ |
| 84 /*@{*/ |
74 /*@{*/ |
| 85 |
75 |