ec_message_context_copy
Last updated March 2020
Name
ec_message_context_copy — Copy a context variable from one ec_message to another
Synopsis
#include "ec_message.h"
| int **ec_message_context_copy** (
| src, | |
| | dest, | |
| | ctx)
; | |
ec_message * <var class="pdparam">src</var>
;
ec_message * <var class="pdparam">dest</var>
;
const char * <var class="pdparam">ctx</var>
;
Description
**Configuration Change. ** This function is available as of Momentum version 3.5.6.
Copy a context variable from one ec_message to another.
- src
-
The source ec_message. See “ec_message” for a description of this data type.
- dest
-
The destination ec_message.
- ctx
-
The name of the context variable that you wish to copy.
This function returns 0
on failure; on success, 1
is returned.
It is legal to call this function in any thread.
See Also
Was this page helpful?