ec_message_context_get
Name
ec_message_context_get — Returns a pointer to the value of the key in the appropriate dictionary, otherwise it returns an empty string
Synopsis
#include "ec_message.h"
| const char * **ec_message_context_get** (
| m, | |
| | w, | |
| | k)
; | |
ec_message * <var class="pdparam">m</var>
;
int <var class="pdparam">w</var>
;
const char * <var class="pdparam">k</var>
;
Description
Returns a pointer to the value for the key in the appropriate dictionary type, otherwise it returns an empty string.
- m
-
The message. For more information about this struct see “ec_message”.
- w
-
The context type, either ECMESS_CTX_CONN or ECMESS_CTX_MESS.
- k
-
The key associated with the context variable value.
The value of the context variable or an empty string.
It is legal to call this function in any thread.