81 const gchar *xmlns, gconstpointer data); |
81 const gchar *xmlns, gconstpointer data); |
82 void session_add_trans(JingleSession *sess, const gchar *name, |
82 void session_add_trans(JingleSession *sess, const gchar *name, |
83 const gchar *xmlns, gconstpointer data); |
83 const gchar *xmlns, gconstpointer data); |
84 SessionContent* session_add_content_from_jinglecontent(JingleSession *sess, |
84 SessionContent* session_add_content_from_jinglecontent(JingleSession *sess, |
85 JingleContent *cn, SessionState state, GError **err); |
85 JingleContent *cn, SessionState state, GError **err); |
86 SessionContent *session_find_by_transport(gconstpointer data); |
86 SessionContent *sessioncontent_find_by_transport(gconstpointer data); |
87 SessionContent *session_find_by_app(gconstpointer data); |
87 SessionContent *sessioncontent_find_by_app(gconstpointer data); |
|
88 JingleSession *session_find_by_sessioncontent(SessionContent *sc); |
88 SessionContent *session_find_sessioncontent(JingleSession *sess, |
89 SessionContent *session_find_sessioncontent(JingleSession *sess, |
89 const gchar *name); |
90 const gchar *name); |
90 int session_remove_sessioncontent(JingleSession *sess, const gchar *name); |
91 int session_remove_sessioncontent(JingleSession *sess, const gchar *name); |
91 void session_changestate_sessioncontent(JingleSession *sess, const gchar *name, |
92 void session_changestate_sessioncontent(JingleSession *sess, const gchar *name, |
92 SessionState state); |
93 SessionState state); |
93 void session_delete(JingleSession *sess); |
94 void session_delete(JingleSession *sess); |
94 void session_remove(JingleSession *sess); |
95 void session_remove(JingleSession *sess); |
95 void session_free(JingleSession *sess); |
96 void session_free(JingleSession *sess); |
96 |
97 |
97 void jingle_handle_app(JingleSession *sess, const gchar *name, |
98 void jingle_handle_app(const gchar *name, |
98 const gchar *xmlns_app, gconstpointer app, |
99 const gchar *xmlns_app, gconstpointer app, |
99 const gchar *to); |
100 const gchar *to); |
100 LmMessage *lm_message_from_jinglesession(const JingleSession *js, |
101 LmMessage *lm_message_from_jinglesession(const JingleSession *js, |
101 JingleAction action); |
102 JingleAction action); |
102 |
103 |
103 void handle_app_data(const gchar *sid, const gchar* from, const gchar *name, gchar *data, gsize size); |
104 void handle_app_data(const gchar *sid, const gchar* from, const gchar *name, gchar *data, gsize size); |
104 |
105 |
|
106 void new_session_with_apps(const gchar *recipientjid, const gchar **name, gconstpointer *datas, const gchar **ns); |
105 #endif |
107 #endif |