ec_message_new

March 26, 2020 Contributors

Name

ec_message_new — Create a new message

Synopsis

#include "ec_message.h"

| ec_message * **ec_message_new** ( | now); |   |

struct timeval * <var class="pdparam">now</var>;

Description

Create a new message.

Parameters

now

A pointer to a timeval struct, which may be NULL.

**Configuration Change. ** Prior to version 3.0, NULL was not an allowed value.

Return Values

A reference to an ec_message struct. For documentation of this data structure see “ec_message_part”

Threading

It is legal to call this function in any thread.

See Also

ec_message_free