Camel.MessageInfo.dup_user_headers

### Method

# Camel MessageInfodup_user_headers

since: 3.42

#### Declaration [src]

    CamelNameValueArray*
    camel_message_info_dup_user_headers (
      const CamelMessageInfo* mi
    )

#### Description

No description available.

Available since: 3.42

#### Return value

Type: `CamelNameValueArray`

All the user-defined message headers of the associated message, or `NULL`, when none are available. Free returned array with `camel_name_value_array_free()` when no longer needed.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.