---
name: "qb_map_notify_del_2"
section: "3"
platform: "linux"
package: "libqb"
version: "2.0.10-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/qb_map_notify_del_2"
---

# qb\_map\_notify\_del\_2(3)

Delete a notifier from the map (including the userdata).

## NAME

qb\_map\_notify\_del\_2 - Delete a notifier from the map (including the userdata).

## SYNOPSIS

```
#include <qb/qbmap.h>

int32_t qb_map_notify_del_2(
    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. */
    void             *user_data   /* a pointer to be passed into the callback*/
);
```

## 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.*

**user\_data** *a pointer to be passed into the callback*

## DESCRIPTION

## RETURN VALUE

**0**          success

**-errno**     failure

## NOTE

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

## SEE ALSO

[*qb\_trie\_dump*(3)](/qb_trie_dump/3.md), [*qb\_map\_iter\_create*(3)](/qb_map_iter_create/3.md), [*qb\_skiplist\_create*(3)](/qb_skiplist_create/3.md), [*qb\_map\_notify\_del*(3)](/qb_map_notify_del/3.md), [*qb\_map\_put*(3)](/qb_map_put/3.md), [*qb\_map\_count\_get*(3)](/qb_map_count_get/3.md), [*qb\_map\_foreach*(3)](/qb_map_foreach/3.md), [*qb\_map\_pref\_iter\_create*(3)](/qb_map_pref_iter_create/3.md), [*qb\_map\_iter\_next*(3)](/qb_map_iter_next/3.md), [*qb\_map\_get*(3)](/qb_map_get/3.md), [*qb\_map\_destroy*(3)](/qb_map_destroy/3.md), [*qb\_hashtable\_create*(3)](/qb_hashtable_create/3.md), [*qb\_map\_iter\_free*(3)](/qb_map_iter_free/3.md), [*qb\_map\_notify\_add*(3)](/qb_map_notify_add/3.md), [*qb\_trie\_create*(3)](/qb_trie_create/3.md), [*qb\_map\_rm*(3)](/qb_map_rm/3.md)

## COPYRIGHT

Copyright (C) 2010-2020 Red Hat, Inc.
