blob: 18a36aa6b135b6eb776e0f3c9acb42ef396d420a [file] [log] [blame]
Roger Meier213a6642010-10-27 12:30:11 +00001#include "thrift.h"
2
3/**
4 * GHashTable callback to add keys to a GList.
5 */
6void
7thrift_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