logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

qb_map_notify_del - Delete a notifier from the map.

Description

Name

       qb_map_notify_del - Delete a notifier from the map.

Note

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

Params

mthemapinstancekeythekey(orprefix)toattachthenotificationto.fnthecallbackeventsthetypeofeventstoregisterfor.

Return Value

0          success

       -errno     failure

See Also

qb_trie_dump(3), qb_map_iter_create(3), qb_skiplist_create(3), qb_map_put(3), qb_map_count_get(3),
       qb_map_foreach(3), qb_map_pref_iter_create(3), qb_map_iter_next(3), qb_map_get(3), qb_map_destroy(3),
       qb_hashtable_create(3), qb_map_iter_free(3), qb_map_notify_add(3), qb_trie_create(3),
       qb_map_notify_del_2(3), qb_map_rm(3)

Synopsis

#include<qb/qbmap.h>int32_tqb_map_notify_del(
           qb_map_t*m,       /* the map instance */
           /*
            * the key (or prefix) to attach the notification to.
            */
           constchar*key,
           qb_map_notify_fnfn,      /* the callback */
           int32_tevents   /* the type of events to register for.*/
       );

See Also