1QB_MAP_NOTIFY_DEL_2(3) libqb Programmer's Manual QB_MAP_NOTIFY_DEL_2(3)
2
3
4
6 qb_map_notify_del_2 - Delete a notifier from the map (including the
7 userdata).
8
10 #include <qb/qbmap.h>
11
12 int32_t qb_map_notify_del_2(
13 qb_map_t *m,
14 const char *key,
15 qb_map_notify_fn fn,
16 int32_t events,
17 void *user_data
18 );
19
21 m the map instance
22
23 key the key (or prefix) to attach the notification to.
24
25 fn the callback
26
27 events the type of events to register for.
28
29 user_data a pointer to be passed into the callback
30
32 0 success
33
34 -errno failure
35
37 the key, fn, events and userdata must match those you added.
38
40 qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3),
41 qb_map_notify_del(3), qb_map_put(3), qb_map_count_get(3),
42 qb_map_foreach(3), qb_map_pref_iter_create(3), qb_map_iter_next(3),
43 qb_map_get(3), qb_map_destroy(3), qb_hashtable_create(3),
44 qb_map_iter_free(3), qb_map_notify_add(3), qb_trie_create(3),
45 qb_map_rm(3)
46
48 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
49
50
51
52LIBQB 2020-07-30 QB_MAP_NOTIFY_DEL_2(3)