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,
15           const char       *key,
16           qb_map_notify_fn  fn,
17           int32_t           events,
18           void             *user_data
19       );
20

PARAMS

22       m         the map instance
23
24       key       the key (or prefix) to attach the notification to.
25
26       fn        the callback
27
28       events    the type of events to register for.
29
30       user_data a pointer to be passed into the callback
31

DESCRIPTION

RETURN VALUE

34       0          success
35
36       -errno     failure
37

NOTE

39       the key, fn, events and userdata must match those you added.
40

SEE ALSO

42       qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3),
43       qb_map_notify_del(3), qb_map_put(3), qb_map_count_get(3),
44       qb_map_foreach(3), qb_map_pref_iter_create(3), qb_map_iter_next(3),
45       qb_map_get(3), qb_map_destroy(3), qb_hashtable_create(3),
46       qb_map_iter_free(3), qb_map_notify_add(3), qb_trie_create(3),
47       qb_map_rm(3)
48
50       Copyright (C) 2010-2020 Red Hat, Inc.
51
52
53
54LIBQB                             2021-03-03            QB_MAP_NOTIFY_DEL_2(3)
Impressum