1QB_MAP_NOTIFY_DEL_2(3)     libqb Programmer's Manual    QB_MAP_NOTIFY_DEL_2(3)
2
3
4

NAME

6       qb_map_notify_del_2  -  Delete  a  notifier from the map (including the
7       userdata).
8
9

SYNOPSIS

11       #include <qb/qbmap.h>
12
13       int32_t qb_map_notify_del_2(
14           qb_map_t         *m, /* the map instance */
15           /*
16            * the key (or prefix) to attach the notification to.
17            */
18           const char       *key,
19           qb_map_notify_fn  fn, /* the callback */
20           int32_t           events,     /* the type of events to register for. */
21           void             *user_data        /* a pointer to be passed into the callback*/
22       );
23

PARAMS

25       m         the map instance
26
27       key       the
28
29       fn        the callback
30
31       events    the type of events to register for.
32
33       user_data a pointer to be passed into the callback
34

DESCRIPTION

RETURN VALUE

37       0          success
38
39       -errno     failure
40

NOTE

42       the key, fn, events and userdata must match those you added.
43

SEE ALSO

45       qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3),
46       qb_map_notify_del(3), qb_map_put(3), qb_map_count_get(3),
47       qb_map_foreach(3), qb_map_pref_iter_create(3), qb_map_iter_next(3),
48       qb_map_get(3), qb_map_destroy(3), qb_hashtable_create(3),
49       qb_map_iter_free(3), qb_map_notify_add(3), qb_trie_create(3),
50       qb_map_rm(3)
51
53       Copyright (C) 2010-2020 Red Hat, Inc.
54
55
56
57LIBQB                             2021-11-12            QB_MAP_NOTIFY_DEL_2(3)
Impressum