24 #ifndef QIF_IMPORT_P_H
25 #define QIF_IMPORT_P_H
27 #include "qif-import.h"
28 #include "qif-objects.h"
29 #include "qif-parse.h"
37 QifError (*parse_record)(
QifContext ctx, GList *record);
65 GHashTable * object_maps;
68 GHashTable * object_lists;
75 gint qif_object_map_count(
QifContext ctx,
const char *type);
76 void qif_object_map_foreach(
QifContext ctx,
const char *type,
77 GHFunc func, gpointer arg);
79 void qif_object_map_remove(
QifContext ctx,
const char *type,
const char *key);
83 GList * qif_object_map_get(
QifContext ctx,
const char *type);
86 void qif_object_list_reverse(
QifContext ctx,
const char *type);
87 gint qif_object_list_count(
QifContext ctx,
const char *type);
88 void qif_object_list_foreach(
QifContext ctx,
const char *type,
89 GFunc func, gpointer arg);
94 GList *qif_object_list_get(
QifContext ctx,
const char *type);
97 #define qif_set_flag(i,f) (i |= f)
98 #define qif_clear_flag(i,f) (i &= ~f)