diff src/proxy.h @ 8273:f24172f53650

[gaim-migrate @ 8997] This is Scott Lamb's eventloop abstraction patch. If it breaks things, Scott Lamb will be glad to take the punishment. If it doesn't, it should make integration into other event loops easier. Well, no, not easier, harder actually, but it'll be done more appropriately and less hackily.. er, hacky. Is hackily a word? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 17 Feb 2004 02:17:48 +0000
parents b5dbd1839716
children 9fdbfe832fac
line wrap: on
line diff
--- a/src/proxy.h	Tue Feb 17 01:33:20 2004 +0000
+++ b/src/proxy.h	Tue Feb 17 02:17:48 2004 +0000
@@ -26,6 +26,7 @@
 #define _GAIM_PROXY_H_
 
 #include <glib.h>
+#include "eventloop.h"
 
 /**
  * A type of proxy connection.
@@ -42,16 +43,6 @@
 } GaimProxyType;
 
 /**
- * An input condition.
- */
-typedef enum
-{
-	GAIM_INPUT_READ  = 1 << 0,  /**< A read condition.  */
-	GAIM_INPUT_WRITE = 1 << 1   /**< A write condition. */
-
-} GaimInputCondition;
-
-/**
  * Information on proxy settings.
  */
 typedef struct
@@ -65,8 +56,6 @@
 
 } GaimProxyInfo;
 
-typedef void (*GaimInputFunction)(gpointer, gint, GaimInputCondition);
-
 
 #include "account.h"
 
@@ -205,26 +194,6 @@
 void gaim_proxy_init(void);
 
 /**
- * Adds an input handler.
- *
- * @param source    The input source.
- * @param cond      The condition type.
- * @param func      The callback function for data.
- * @param user_data User-specified data.
- *
- * @return The resulting handle.
- */
-gint gaim_input_add(int source, GaimInputCondition cond,
-					GaimInputFunction func, gpointer user_data);
-
-/**
- * Removes an input handler.
- *
- * @param handle The handle of the input handler.
- */
-void gaim_input_remove(gint handle);
-
-/**
  * Makes a connection to the specified host and port.
  *
  * @param account The account making the connection.