soc.2008.vv: d8fc4094: Hide unnecessarily exposed Jingle handle...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Thu Jul 10 21:26:03 EDT 2008


-----------------------------------------------------------------
Revision: d8fc40948b8a1d5a79f67b2a348e33317951de71
Ancestor: 71da470ef49588be00e0c82ec4486b5abb0bfd29
Author: maiku at soc.pidgin.im
Date: 2008-07-10T22:54:18
Branch: im.pidgin.soc.2008.vv
URL: http://d.pidgin.im/viewmtn/revision/info/d8fc40948b8a1d5a79f67b2a348e33317951de71

Modified files:
        libpurple/protocols/jabber/jingle.c
        libpurple/protocols/jabber/jingle.h

ChangeLog: 

Hide unnecessarily exposed Jingle handler functions

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle.c	673cfc0847e365b42759877c84b1706d39d34dc7
+++ libpurple/protocols/jabber/jingle.c	a0037478d194100cb5c0d55af186e91e40e5a5d6
@@ -1120,7 +1120,7 @@ jabber_jingle_session_terminate_sessions
 	g_list_free(values);
 }
 
-void
+static void
 jabber_jingle_session_handle_content_replace(JabberStream *js, xmlnode *packet)
 {
 #if 0
@@ -1149,7 +1149,7 @@ jabber_jingle_session_handle_content_rep
 #endif
 }
 
-void
+static void
 jabber_jingle_session_handle_session_accept(JabberStream *js, xmlnode *packet)
 {
 	JabberIq *result = jabber_iq_new(js, JABBER_IQ_RESULT);
@@ -1243,14 +1243,14 @@ jabber_jingle_session_handle_session_acc
 	jabber_jingle_session_set_state(session, ACTIVE);
 }
 
-void
+static void
 jabber_jingle_session_handle_session_info(JabberStream *js, xmlnode *packet)
 {
 	purple_debug_info("jingle", "got session-info\n");
 	jabber_iq_send(jabber_jingle_session_create_ack(js, packet));
 }
 
-void 
+static void 
 jabber_jingle_session_handle_session_initiate(JabberStream *js, xmlnode *packet)
 {
 	JingleSession *session = NULL;
@@ -1344,7 +1344,7 @@ jabber_jingle_session_handle_session_ini
 	purple_media_got_request(jabber_jingle_session_get_media(session));
 }
 
-void
+static void
 jabber_jingle_session_handle_session_terminate(JabberStream *js, xmlnode *packet)
 {
 	xmlnode *jingle = xmlnode_get_child(packet, "jingle");
@@ -1365,7 +1365,7 @@ jabber_jingle_session_handle_session_ter
 	jabber_jingle_session_destroy(session);
 }
 
-void
+static void
 jabber_jingle_session_handle_transport_info(JabberStream *js, xmlnode *packet)
 {
 	JabberIq *result = jabber_iq_new(js, JABBER_IQ_RESULT);
============================================================
--- libpurple/protocols/jabber/jingle.h	f0496c3ce8ed65613ac44a12baeb7d8a2ba057db
+++ libpurple/protocols/jabber/jingle.h	9f02311521a3dc9b4babe5811a326bb9646fc696
@@ -42,14 +42,6 @@ void jabber_jingle_session_terminate_ses
 void jabber_jingle_session_terminate_session_media(JabberStream *js, const gchar *who);
 void jabber_jingle_session_terminate_sessions(JabberStream *js);
 
-/* Jingle message handlers */
-void jabber_jingle_session_handle_content_replace(JabberStream *js, xmlnode *packet);
-void jabber_jingle_session_handle_session_accept(JabberStream *js, xmlnode *packet);
-void jabber_jingle_session_handle_session_info(JabberStream *js, xmlnode *packet);
-void jabber_jingle_session_handle_session_initiate(JabberStream *js, xmlnode *packet);
-void jabber_jingle_session_handle_session_terminate(JabberStream *js, xmlnode *packet);
-void jabber_jingle_session_handle_transport_info(JabberStream *js, xmlnode *packet);
-
 G_END_DECLS
 
 #endif /* USE_VV */


More information about the Commits mailing list