ec_spool_ctx_spool_in

March 26, 2020 Contributors

Name

ec_spool_ctx_spool_in — spool in a message with a given id, from a spool context

Synopsis

#include "spool.h"

| ec_message * **ec_spool_ctx_spool_in** ( | ctx, |   |
|   | id); |   |

ec_spool_ctx * <var class="pdparam">ctx</var>;
message_id * <var class="pdparam">id</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

spool in a message with a given id, from a spool context

This does not add the message to any other data structure; it reads in the message with the specified id and returns it.

Parameters

ctx

the spool context

id

the message to pull in

Return Values

Returns the message, or NULL if there was an error.