Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 1 | #include "thrift.h" |
2 | |||||
3 | /** | ||||
4 | * GHashTable callback to add keys to a GList. | ||||
5 | */ | ||||
6 | void | ||||
7 | thrift_hash_table_get_keys (gpointer key, gpointer value, gpointer user_data) | ||||
8 | { | ||||
9 | THRIFT_UNUSED_VAR (value); | ||||
10 | GList **list = (GList **) user_data; | ||||
11 | *list = g_list_append (*list, key); | ||||
12 | } | ||||
13 |