comparison libpurple/protocols/jabber/jingle/iceudp.h @ 26179:84ea07648377

Add the id attribute to ice-udp according to the XEP.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Thu, 05 Feb 2009 09:36:23 +0000
parents bee5ab815291
children 36c7efb85220
comparison
equal deleted inserted replaced
26178:ee3f63fbd071 26179:84ea07648377
64 struct _JingleIceUdpCandidate 64 struct _JingleIceUdpCandidate
65 { 65 {
66 guint component; 66 guint component;
67 gchar *foundation; 67 gchar *foundation;
68 guint generation; 68 guint generation;
69 gchar *id;
69 gchar *ip; 70 gchar *ip;
70 guint network; 71 guint network;
71 guint port; 72 guint port;
72 guint priority; 73 guint priority;
73 gchar *protocol; 74 gchar *protocol;
89 * @return The iceudp class's GType. 90 * @return The iceudp class's GType.
90 */ 91 */
91 GType jingle_iceudp_get_type(void); 92 GType jingle_iceudp_get_type(void);
92 93
93 JingleIceUdpCandidate *jingle_iceudp_candidate_new(guint component, 94 JingleIceUdpCandidate *jingle_iceudp_candidate_new(guint component,
94 const gchar *foundation, guint generation, const gchar *ip, 95 const gchar *foundation, guint generation, const gchar *id,
95 guint network, guint port, guint priority, const gchar *protocol, 96 const gchar *ip, guint network, guint port, guint priority,
96 const gchar *type, const gchar *username, const gchar *password); 97 const gchar *protocol, const gchar *type,
98 const gchar *username, const gchar *password);
97 void jingle_iceudp_add_local_candidate(JingleIceUdp *iceudp, JingleIceUdpCandidate *candidate); 99 void jingle_iceudp_add_local_candidate(JingleIceUdp *iceudp, JingleIceUdpCandidate *candidate);
98 GList *jingle_iceudp_get_remote_candidates(JingleIceUdp *iceudp); 100 GList *jingle_iceudp_get_remote_candidates(JingleIceUdp *iceudp);
99 101
100 #ifdef __cplusplus 102 #ifdef __cplusplus
101 } 103 }