2 #ifndef __SFI_USTORE_H__
3 #define __SFI_USTORE_H__
13 typedef gboolean (*SfiUStoreForeach) (gpointer data,
16 typedef gboolean (*SfiUPoolForeach) (gpointer data,
18 typedef gboolean (*SfiPPoolForeach) (gpointer data,
23 SfiUStore* sfi_ustore_new (
void);
24 gpointer sfi_ustore_lookup (SfiUStore *store,
26 void sfi_ustore_insert (SfiUStore *store,
29 void sfi_ustore_remove (SfiUStore *store,
31 void sfi_ustore_foreach (SfiUStore *store,
32 SfiUStoreForeach
foreach,
34 void sfi_ustore_destroy (SfiUStore *store);
38 SfiUPool* sfi_upool_new (
void);
39 gboolean sfi_upool_lookup (SfiUPool *pool,
41 void sfi_upool_set (SfiUPool *pool,
43 void sfi_upool_unset (SfiUPool *pool,
45 void sfi_upool_foreach (SfiUPool *pool,
46 SfiUPoolForeach
foreach,
48 void sfi_upool_destroy (SfiUPool *pool);
49 gulong* sfi_upool_list (SfiUPool *pool,
54 SfiPPool* sfi_ppool_new (
void);
55 gboolean sfi_ppool_lookup (SfiPPool *pool,
57 void sfi_ppool_set (SfiPPool *pool,
59 void sfi_ppool_unset (SfiPPool *pool,
61 void sfi_ppool_foreach (SfiPPool *pool,
62 SfiPPoolForeach
foreach,
64 GSList* sfi_ppool_slist (SfiPPool *pool);
65 void sfi_ppool_destroy (SfiPPool *pool);