| 71 #include "xmpp.h" |
72 #include "xmpp.h" |
| 72 #include "gtalk.h" |
73 #include "gtalk.h" |
| 73 #include "facebook.h" |
74 #include "facebook.h" |
| 74 |
75 |
| 75 #include "jingle/jingle.h" |
76 #include "jingle/jingle.h" |
| |
77 #include "jingle/iceudp.h" |
| |
78 #include "jingle/rawudp.h" |
| 76 #include "jingle/rtp.h" |
79 #include "jingle/rtp.h" |
| 77 |
80 |
| 78 #define PING_TIMEOUT 60 |
81 #define PING_TIMEOUT 60 |
| 79 /* Send a whitespace keepalive to the server if we haven't sent |
82 /* Send a whitespace keepalive to the server if we haven't sent |
| 80 * anything in the last 120 seconds |
83 * anything in the last 120 seconds |
| 4315 } |
4318 } |
| 4316 |
4319 |
| 4317 static gboolean |
4320 static gboolean |
| 4318 plugin_load(PurplePlugin *plugin, GError **error) |
4321 plugin_load(PurplePlugin *plugin, GError **error) |
| 4319 { |
4322 { |
| |
4323 jingle_session_register_type(plugin); |
| |
4324 |
| |
4325 jingle_transport_register_type(plugin); |
| |
4326 jingle_iceudp_register_type(plugin); |
| |
4327 jingle_rawudp_register_type(plugin); |
| |
4328 jingle_google_p2p_register_type(plugin); |
| |
4329 |
| |
4330 jingle_content_register_type(plugin); |
| |
4331 jingle_rtp_register_type(plugin); |
| |
4332 |
| 4320 jabber_protocol_register_type(plugin); |
4333 jabber_protocol_register_type(plugin); |
| 4321 |
4334 |
| 4322 facebook_protocol_register_type(plugin); |
4335 facebook_protocol_register_type(plugin); |
| 4323 gtalk_protocol_register_type(plugin); |
4336 gtalk_protocol_register_type(plugin); |
| 4324 xmpp_protocol_register_type(plugin); |
4337 xmpp_protocol_register_type(plugin); |