*
* Format Registry
*
- * Copyright 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation
+ *
+ * Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include <glib.h>
#include <errno.h>
#include <stdio.h>
+#include <assert.h>
struct walk_data {
FILE *fp;
*/
GHashTable *format_registry;
-struct format *bt_lookup_format(GQuark qname)
+struct format *bt_lookup_format(bt_intern_str name)
{
if (!init_done)
return NULL;
return g_hash_table_lookup(format_registry,
- (gconstpointer) (unsigned long) qname);
+ (gconstpointer) (unsigned long) name);
}
static void show_format(gpointer key, gpointer value, gpointer user_data)