# In Memory Message init

## Functions
sandesha2_msg_ctx_t * | sandesha2_msg_init_init_msg (const axutil_env_t *env, axis2_msg_ctx_t *ctx)

## Function Documentation

sandesha2_msg_ctx_t* sandesha2_msg_init_init_msg | ( | const axutil_env_t * | env,
|  | axis2_msg_ctx_t * | ctx |
| ) |  |  |

Called to create a rm_msg_ctx out of an message context. Finds out things like rm version and message type as well.

Parameters:

  | ctx |
  | assumed_rm_ns | this is used for validation (to find out weather the rm_ns of the current message is equal to the regietered rm_ns of the sequence). If NULL validation will not happen.

Returns: