equal
deleted
inserted
replaced
34 #include <jingle/jingle.h> |
34 #include <jingle/jingle.h> |
35 #include <jingle/check.h> |
35 #include <jingle/check.h> |
36 #include <jingle/action-handlers.h> |
36 #include <jingle/action-handlers.h> |
37 #include <jingle/register.h> |
37 #include <jingle/register.h> |
38 #include <jingle/send.h> |
38 #include <jingle/send.h> |
39 |
39 #include <jingle/sessions.h> |
40 |
40 |
41 static void jingle_register_lm_handlers(void); |
41 static void jingle_register_lm_handlers(void); |
42 static void jingle_unregister_lm_handlers(void); |
42 static void jingle_unregister_lm_handlers(void); |
43 static guint jingle_connect_hh(const gchar *hname, hk_arg_t *args, |
43 static guint jingle_connect_hh(const gchar *hname, hk_arg_t *args, |
44 gpointer ignore); |
44 gpointer ignore); |
393 lm_message_node_set_attribute(node, "senders", "initiator"); |
393 lm_message_node_set_attribute(node, "senders", "initiator"); |
394 else if (content->senders == JINGLE_SENDERS_RESPONDER) |
394 else if (content->senders == JINGLE_SENDERS_RESPONDER) |
395 lm_message_node_set_attribute(node, "senders", "responder"); |
395 lm_message_node_set_attribute(node, "senders", "responder"); |
396 } |
396 } |
397 |
397 |
|
398 void handle_trans_data(const gchar *xmlns, gconstpointer data, const gchar *data2, guint len) |
|
399 { |
|
400 SessionContent *sc = session_find_transport(xmlns, data); |
|
401 if (sc == NULL) { |
|
402 return; |
|
403 } |
|
404 sc->appfuncs->handle_data(sc->description, data2, len); |
|
405 } |