blob: a4574cbffb71d87d71d99b38fc828dcf58a60a23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef NM_CALLBACK_STORE_H
#define NM_CALLBACK_STORE_H
#include <glib-object.h>
typedef GHashTable NMCallStore;
typedef gboolean (*NMCallStoreFunc) (GObject *object, gpointer call_id, gpointer user_data);
NMCallStore *nm_call_store_new (void);
void nm_call_store_add (NMCallStore *store,
GObject *object,
gpointer *call_id);
void nm_call_store_remove (NMCallStore *store,
GObject *object,
gpointer call_id);
int nm_call_store_foreach (NMCallStore *store,
GObject *object,
NMCallStoreFunc callback,
gpointer user_data);
void nm_call_store_clear (NMCallStore *store);
void nm_call_store_destroy (NMCallStore *store);
#endif /* NM_CALLBACK_STORE_H */
|