`libnetdude` Manual
Prev |  | Next

# libnd_registry

## Name

libnd_registry --

## Synopsis

    void        (*LND_RegCB)                    (const char *name,
                                                 void *item,
                                                 void *user_data);
    LND_Registry* libnd_reg_new                 (const char *name);
    void        libnd_reg_free                  (LND_Registry *reg);
    void        libnd_reg_set_data              (LND_Registry *reg,
                                                 const char *key,
                                                 void *data);
    void*       libnd_reg_get_data              (const LND_Registry *reg,
                                                 const char *key);
    void*       libnd_reg_del_data              (LND_Registry *reg,
                                                 const char *key);
    void        libnd_reg_foreach               (const LND_Registry *reg,
                                                 LND_RegCB callback,
                                                 void *user_data);

## Description

## Details

### LND_RegCB ()

    void        (*LND_RegCB)                    (const char *name,
                                                 void *item,
                                                 void *user_data);

`name` :

`item` :

`user_data` :

### libnd_reg_new ()

    LND_Registry* libnd_reg_new                 (const char *name);

`name` :

Returns :

### libnd_reg_free ()

    void        libnd_reg_free                  (LND_Registry *reg);

`reg` :

### libnd_reg_set_data ()

    void        libnd_reg_set_data              (LND_Registry *reg,
                                                 const char *key,
                                                 void *data);

`reg` :

`key` :

`data` :

### libnd_reg_get_data ()

    void*       libnd_reg_get_data              (const LND_Registry *reg,
                                                 const char *key);

`reg` :

`key` :

### libnd_reg_del_data ()

    void*       libnd_reg_del_data              (LND_Registry *reg,
                                                 const char *key);

`reg` :

`key` :

### libnd_reg_foreach ()

    void        libnd_reg_foreach               (const LND_Registry *reg,
                                                 LND_RegCB callback,
                                                 void *user_data);

`reg` :

`callback` :

`user_data` :

Prev | Home | Next
libnd_raw_protocol | Up | libnd_tcpdump