qb_map_notify_del3
Delete a notifier from the map.
Usage
#include <qb/qbmap.h>
int32_t qb_map_notify_del(
qb_map_t *m, /* the map instance */
/*
* the key (or prefix) to attach the notification to.
*/
const char *key,
qb_map_notify_fn fn, /* the callback */
int32_t events /* the type of events to register for.*/
);
Params
m the map instance
key the key (or prefix) to attach the notification to.
fn the callback
events the type of events to register for.
Overview
Return value
0 success
-errno failure
Note
the key,fn and events must match those you added.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.