Skip to main content


Last updated March 2020


ec_module_manifest_value_as_dict — retrieves a dictionary of manifest values for a named module


#include "module.h"

| int **ec_module_manifest_value_as_dict** ( | iter, |   | |   | modulename, |   | |   | keyname, |   | |   | dict); |   |

ec_module_manifest_iter_t * <var class="pdparam">iter</var>; const char * <var class="pdparam">modulename</var>; const char * <var class="pdparam">keyname</var>; ECDict * <var class="pdparam">dict</var>;



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.

retrieves a dictionary of manifest values for a named module

If keyname is defined by the manifest for modulename, treat its value as a comma and/or space separated list of values.

Sets dict to a dictionary whose keys are "0", "1" etc. (stringified versions of the numeric positioning in the list), with values corresponding to those in the list.

The caller is responsible for dropping that dict if it is returned. Note that a dictionary is used here to simplify the memory management.



the iterator


the name of the module


the name of the item to be retrieved


the dictionary holding the data

Return Values

1 if defined, 0 otherwise.

Was this page helpful?