comparison mcabber/src/settings.c @ 1661:64a7428afcb3

Print list of options with '/set'
author Myhailo Danylenko <isbear@ukrpost.net>
date Mon, 07 Dec 2009 11:16:03 +0200
parents fca9a4c17432
children
comparison
equal deleted inserted replaced
1660:dc03a24198a9 1661:64a7428afcb3
378 } 378 }
379 return rstatus; 379 return rstatus;
380 } 380 }
381 381
382 // settings_foreach(type, pfunction, param) 382 // settings_foreach(type, pfunction, param)
383 // Call pfunction(param, key, value) for each setting with requested type. 383 // Call pfunction(key, value, param) for each setting with requested type.
384 void settings_foreach(guint type, void (*pfunc)(char *k, char *v, void *param), 384 void settings_foreach(guint type, void (*pfunc)(char *k, char *v, void *param),
385 void *param) 385 void *param)
386 { 386 {
387 GHashTable *hash; 387 GHashTable *hash;
388 388