libpurple/protocols/msn/directconn.h

changeset 30100
3382aeef1a88
parent 30092
ad8776ef2844
child 30327
d3d120d3f9e8
--- 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.
  */

mercurial