equal
deleted
inserted
replaced
1 /** |
1 /** |
2 * @file jingle.h |
2 * @file jingle.h |
3 * @brief jingle.c header file |
3 * @brief jingle.c header file |
4 * @author Nicolas Cornu |
4 * @author Nicolas Cornu |
5 * @version 0.1 |
|
6 */ |
5 */ |
7 |
6 |
8 #ifndef __JINGLE_H__ |
7 #ifndef __JINGLE_H__ |
9 #define __JINGLE_H__ 1 |
8 #define __JINGLE_H__ 1 |
10 |
9 |
51 JINGLE_SENDERS_NONE, |
50 JINGLE_SENDERS_NONE, |
52 JINGLE_SENDERS_RESPONDER, |
51 JINGLE_SENDERS_RESPONDER, |
53 } JingleSenders; |
52 } JingleSenders; |
54 |
53 |
55 /** |
54 /** |
56 * @struct JingleNode |
|
57 * @brief Represent an incoming jingle IQ |
55 * @brief Represent an incoming jingle IQ |
58 * |
56 * |
59 * This struct is used to represent an incoming jingle IQ. |
57 * This struct is used to represent an incoming jingle IQ. |
60 * It should be destroyed as soon as it is not needed using #jingle_free_jinglenode |
58 * It should be destroyed as soon as it is not needed using #jingle_free_jinglenode |
61 */ |
59 */ |
103 GSList *content; |
101 GSList *content; |
104 |
102 |
105 } JingleNode; |
103 } JingleNode; |
106 |
104 |
107 /** |
105 /** |
108 * @struct JingleContent |
|
109 * @brief Struct used to represent a <content> element of an incoming Jingle IQ |
106 * @brief Struct used to represent a <content> element of an incoming Jingle IQ |
110 */ |
107 */ |
111 typedef struct { |
108 typedef struct { |
112 /** |
109 /** |
113 * @brief pointer to the <content> element |
110 * @brief pointer to the <content> element |
155 */ |
152 */ |
156 LmMessageNode *transport; |
153 LmMessageNode *transport; |
157 } JingleContent; |
154 } JingleContent; |
158 |
155 |
159 /** |
156 /** |
160 * @struct JingleActionList |
|
161 * |
|
162 * Represent a jingle action and the "handler" |
157 * Represent a jingle action and the "handler" |
163 * (defined in action-handlers.c) for that action. |
158 * (defined in action-handlers.c) for that action. |
164 */ |
159 */ |
165 struct JingleActionList { |
160 struct JingleActionList { |
166 const gchar *name; |
161 const gchar *name; |