ec_message_rsrc_destroy

March 26, 2020 Contributors

Name

ec_message_rsrc_destroy — Removes the resource with the given name from the message in-memory resource list and then passes the resource to ec_message_rsrc_free

Synopsis

#include "ec_message.h"

| void **ec_message_rsrc_destroy** ( | message, |   |
|   | name); |   |

ec_message * <var class="pdparam">message</var>;
const char * <var class="pdparam">name</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.

Removes the resource with the given name from the message in-memory resource list and then passes the resource to ec_message_rsrc_free.

If name is NULL then all resources are destroyed. The state of the store in relation to the in-memory state of the resource is undefined.

Parameters

message

the message the resource is associated with

name

the name of the resource to destroy