diff src/connection.h @ 5564:187c740f2a4e

[gaim-migrate @ 5966] Committing what I have so far. Some new functions, and msn is almost done. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 18:04:45 +0000
parents 9eb5b13fd412
children 113090160626
line wrap: on
line diff
--- a/src/connection.h	Fri May 30 09:38:29 2003 +0000
+++ b/src/connection.h	Fri May 30 18:04:45 2003 +0000
@@ -178,6 +178,14 @@
 									 size_t step, size_t count);
 
 /**
+ * Closes a connection with an error.
+ *
+ * @param gc     The connection.
+ * @param reason The error text.
+ */
+void gaim_connection_error(GaimConnection *gc, const char *reason);
+
+/**
  * Disconnects from all connections.
  */
 void gaim_connections_disconnect_all(void);
@@ -189,6 +197,13 @@
  */
 GList *gaim_connections_get_all(void);
 
+/**
+ * Returns a list of all connections in the process of connecting.
+ *
+ * @return A list of connecting connections.
+ */
+GList *gaim_connections_get_connecting(void);
+
 /**************************************************************************/
 /** @name UI Operations API                                               */
 /**************************************************************************/