comparison src/blist.c @ 10850:fa06fda62868

[gaim-migrate @ 12522] GET OUTTA MY HOUSE!!! Thanks to Gary for showing me a list of non-namespaced stuff. I'm sure I missed some. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 19 Apr 2005 04:43:13 +0000
parents a3ce85181220
children 2409700be3dc
comparison
equal deleted inserted replaced
10849:c203cd637f95 10850:fa06fda62868
140 child = xmlnode_new_child(node, "component"); 140 child = xmlnode_new_child(node, "component");
141 xmlnode_set_attrib(child, "name", name); 141 xmlnode_set_attrib(child, "name", name);
142 xmlnode_insert_data(child, data, -1); 142 xmlnode_insert_data(child, data, -1);
143 } 143 }
144 144
145 xmlnode * 145 static xmlnode *
146 buddy_to_xmlnode(GaimBlistNode *bnode) 146 buddy_to_xmlnode(GaimBlistNode *bnode)
147 { 147 {
148 xmlnode *node, *child; 148 xmlnode *node, *child;
149 GaimBuddy *buddy; 149 GaimBuddy *buddy;
150 150
167 g_hash_table_foreach(buddy->node.settings, value_to_xmlnode, node); 167 g_hash_table_foreach(buddy->node.settings, value_to_xmlnode, node);
168 168
169 return node; 169 return node;
170 } 170 }
171 171
172 xmlnode * 172 static xmlnode *
173 contact_to_xmlnode(GaimBlistNode *cnode) 173 contact_to_xmlnode(GaimBlistNode *cnode)
174 { 174 {
175 xmlnode *node, *child; 175 xmlnode *node, *child;
176 GaimContact *contact; 176 GaimContact *contact;
177 GaimBlistNode *bnode; 177 GaimBlistNode *bnode;
201 g_hash_table_foreach(cnode->settings, value_to_xmlnode, node); 201 g_hash_table_foreach(cnode->settings, value_to_xmlnode, node);
202 202
203 return node; 203 return node;
204 } 204 }
205 205
206 xmlnode * 206 static xmlnode *
207 chat_to_xmlnode(GaimBlistNode *cnode) 207 chat_to_xmlnode(GaimBlistNode *cnode)
208 { 208 {
209 xmlnode *node, *child; 209 xmlnode *node, *child;
210 GaimChat *chat; 210 GaimChat *chat;
211 211
228 g_hash_table_foreach(chat->node.settings, value_to_xmlnode, node); 228 g_hash_table_foreach(chat->node.settings, value_to_xmlnode, node);
229 229
230 return node; 230 return node;
231 } 231 }
232 232
233 xmlnode * 233 static xmlnode *
234 group_to_xmlnode(GaimBlistNode *gnode) 234 group_to_xmlnode(GaimBlistNode *gnode)
235 { 235 {
236 xmlnode *node, *child; 236 xmlnode *node, *child;
237 GaimGroup *group; 237 GaimGroup *group;
238 GaimBlistNode *cnode; 238 GaimBlistNode *cnode;
263 } 263 }
264 264
265 return node; 265 return node;
266 } 266 }
267 267
268 xmlnode * 268 static xmlnode *
269 accountprivacy_to_xmlnode(GaimAccount *account) 269 accountprivacy_to_xmlnode(GaimAccount *account)
270 { 270 {
271 xmlnode *node, *child; 271 xmlnode *node, *child;
272 GSList *cur; 272 GSList *cur;
273 char buf[10]; 273 char buf[10];
291 } 291 }
292 292
293 return node; 293 return node;
294 } 294 }
295 295
296 xmlnode * 296 static xmlnode *
297 blist_to_xmlnode() 297 blist_to_xmlnode()
298 { 298 {
299 xmlnode *node, *child, *grandchild; 299 xmlnode *node, *child, *grandchild;
300 GaimBlistNode *gnode; 300 GaimBlistNode *gnode;
301 GList *cur; 301 GList *cur;