idmef-additional-data: libprelude Reference Manual

## idmef-additional-data idmef-additional-data |

## Functions

int | idmef_additional_data_new_real ()
int | idmef_additional_data_new_byte ()
int | idmef_additional_data_new_integer ()
int | idmef_additional_data_new_boolean ()
int | idmef_additional_data_new_character ()
void | idmef_additional_data_set_real ()
void | idmef_additional_data_set_byte ()
void | idmef_additional_data_set_integer ()
void | idmef_additional_data_set_boolean ()
void | idmef_additional_data_set_character ()
int | idmef_additional_data_new_byte_string_ref ()
int | idmef_additional_data_set_byte_string_ref ()
int | idmef_additional_data_new_byte_string_dup ()
int | idmef_additional_data_set_byte_string_dup ()
int | idmef_additional_data_new_byte_string_nodup ()
int | idmef_additional_data_set_byte_string_nodup ()
int | idmef_additional_data_copy_ref ()
int | idmef_additional_data_copy_dup ()
float | idmef_additional_data_get_real ()
uint32_t | idmef_additional_data_get_integer ()
prelude_bool_t | idmef_additional_data_get_boolean ()
char | idmef_additional_data_get_character ()
uint8_t | idmef_additional_data_get_byte ()
size_t | idmef_additional_data_get_len ()
prelude_bool_t | idmef_additional_data_is_empty ()
int | idmef_additional_data_data_to_string ()

## Description

## Functions

### idmef_additional_data_new_real ()

    int
    idmef_additional_data_new_real (idmef_additional_data_t **ret,
                                    float data);

### idmef_additional_data_new_byte ()

    int
    idmef_additional_data_new_byte (idmef_additional_data_t **ret,
                                    uint8_t byte);

### idmef_additional_data_new_integer ()

    int
    idmef_additional_data_new_integer (idmef_additional_data_t **ret,
                                       uint32_t data);

### idmef_additional_data_new_boolean ()

    int
    idmef_additional_data_new_boolean (idmef_additional_data_t **ret,
                                       prelude_bool_t data);

### idmef_additional_data_new_character ()

    int
    idmef_additional_data_new_character (idmef_additional_data_t **ret,
                                         char data);

### idmef_additional_data_set_real ()

    void
    idmef_additional_data_set_real (idmef_additional_data_t *ptr,
                                    float data);

### idmef_additional_data_set_byte ()

    void
    idmef_additional_data_set_byte (idmef_additional_data_t *ptr,
                                    uint8_t byte);

### idmef_additional_data_set_integer ()

    void
    idmef_additional_data_set_integer (idmef_additional_data_t *ptr,
                                       uint32_t data);

### idmef_additional_data_set_boolean ()

    void
    idmef_additional_data_set_boolean (idmef_additional_data_t *ptr,
                                       prelude_bool_t data);

### idmef_additional_data_set_character ()

    void
    idmef_additional_data_set_character (idmef_additional_data_t *ptr,
                                         char data);

### idmef_additional_data_new_byte_string_ref ()

    int
    idmef_additional_data_new_byte_string_ref
                                   (idmef_additional_data_t **ad,
                                    const unsigned char *data,
                                    size_t len);

### idmef_additional_data_set_byte_string_ref ()

    int
    idmef_additional_data_set_byte_string_ref
                                   (idmef_additional_data_t *ad,
                                    const unsigned char *data,
                                    size_t len);

### idmef_additional_data_new_byte_string_dup ()

    int
    idmef_additional_data_new_byte_string_dup
                                   (idmef_additional_data_t **ad,
                                    const unsigned char *data,
                                    size_t len);

### idmef_additional_data_set_byte_string_dup ()

    int
    idmef_additional_data_set_byte_string_dup
                                   (idmef_additional_data_t *ad,
                                    const unsigned char *data,
                                    size_t len);

### idmef_additional_data_new_byte_string_nodup ()

    int
    idmef_additional_data_new_byte_string_nodup
                                   (idmef_additional_data_t **ad,
                                    unsigned char *data,
                                    size_t len);

### idmef_additional_data_set_byte_string_nodup ()

    int
    idmef_additional_data_set_byte_string_nodup
                                   (idmef_additional_data_t *ad,
                                    unsigned char *data,
                                    size_t len);

### idmef_additional_data_copy_ref ()

    int
    idmef_additional_data_copy_ref (idmef_additional_data_t *src,
                                    idmef_additional_data_t *dst);

### idmef_additional_data_copy_dup ()

    int
    idmef_additional_data_copy_dup (idmef_additional_data_t *src,
                                    idmef_additional_data_t *dst);

### idmef_additional_data_get_real ()

    float
    idmef_additional_data_get_real (idmef_additional_data_t *data);

### idmef_additional_data_get_integer ()

    uint32_t
    idmef_additional_data_get_integer (idmef_additional_data_t *data);

### idmef_additional_data_get_boolean ()

    prelude_bool_t
    idmef_additional_data_get_boolean (idmef_additional_data_t *data);

### idmef_additional_data_get_character ()

    char
    idmef_additional_data_get_character (idmef_additional_data_t *data);

### idmef_additional_data_get_byte ()

    uint8_t
    idmef_additional_data_get_byte (idmef_additional_data_t *data);

### idmef_additional_data_get_len ()

    size_t
    idmef_additional_data_get_len (idmef_additional_data_t *data);

### idmef_additional_data_is_empty ()

    prelude_bool_t
    idmef_additional_data_is_empty (idmef_additional_data_t *data);

### idmef_additional_data_data_to_string ()

    int
    idmef_additional_data_data_to_string (idmef_additional_data_t *ad,
                                          prelude_string_t *out);

## Types and Values