diff libpurple/protocols/msn/directconn.h @ 30467:6936ffd13cb9

Make msn_dc_fallback_to_p2p non-static, and remove some old code.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 05 May 2010 07:26:57 +0000
parents a97d60c15e25
children 1aa1e1e1876d
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.h	Wed May 05 07:15:55 2010 +0000
+++ b/libpurple/protocols/msn/directconn.h	Wed May 05 07:26:57 2010 +0000
@@ -55,6 +55,7 @@
 
 typedef enum
 {
+	DC_NONCE_UNKNOWN,	/**< Invalid scheme */
 	DC_NONCE_PLAIN,     /**< No hashing */
 	DC_NONCE_SHA1       /**< First 16 bytes of SHA1 of nonce */
 
@@ -136,6 +137,13 @@
 msn_dc_destroy(MsnDirectConn *dc);
 
 /*
+ * Fallback to switchboard connection. Used when neither side is able to
+ * create a listening socket.
+ */
+void
+msn_dc_fallback_to_p2p(MsnDirectConn *dc);
+
+/*
  * Increases the slpcall counter in DC. The direct connection remains open
  * until all slpcalls using it are destroyed.
  */