equal
deleted
inserted
replaced
45 static guint jingle_disconn_hh(const gchar *hname, hk_arg_t *args, |
45 static guint jingle_disconn_hh(const gchar *hname, hk_arg_t *args, |
46 gpointer ignore); |
46 gpointer ignore); |
47 static void jingle_init(void); |
47 static void jingle_init(void); |
48 static void jingle_uninit(void); |
48 static void jingle_uninit(void); |
49 static void lm_insert_jinglecontent(gpointer data, gpointer userdata); |
49 static void lm_insert_jinglecontent(gpointer data, gpointer userdata); |
|
50 static void lm_insert_sessioncontent(gpointer data, gpointer userdata); |
50 |
51 |
51 |
52 |
52 static LmMessageHandler* jingle_iq_handler = NULL; |
53 static LmMessageHandler* jingle_iq_handler = NULL; |
53 static GSList *ack_handlers = NULL; |
54 static GSList *ack_handlers = NULL; |
54 static guint connect_hid = 0; |
55 static guint connect_hid = 0; |
55 static guint disconn_hid = 0; |
56 static guint disconn_hid = 0; |
|
57 |
56 |
58 |
57 /** |
59 /** |
58 * Must be aligned with the values in JingleAction |
60 * Must be aligned with the values in JingleAction |
59 * for easy acces. |
61 * for easy acces. |
60 */ |
62 */ |
483 |
485 |
484 sid[10] = '\0'; |
486 sid[10] = '\0'; |
485 |
487 |
486 return sid; |
488 return sid; |
487 } |
489 } |
|
490 |
|
491 void jingle_handle_app(JingleSession *sess, const gchar *name, |
|
492 const gchar *xmlns_app, gconstpointer app, |
|
493 const gchar *to) |
|
494 { |
|
495 JingleTransportFuncs *trans = jingle_transport_for_app(xmlns_app, NULL); |
|
496 |
|
497 if (trans == NULL) |
|
498 return; |
|
499 |
|
500 //session_add_trans(sess, name, xmlns, gconstpointer data); |
|
501 |
|
502 jingle_send_session_initiate(sess, to); |
|
503 } |