ec_module_manifest_value_as_string

March 26, 2020 Contributors

Name

ec_module_manifest_value_as_string — retrieves a manifest value for a named module

Synopsis

#include "module.h"

| int **ec_module_manifest_value_as_string** ( | iter, |   |
|   | modulename, |   |
|   | keyname, |   |
|   | string_val); |   |

ec_module_manifest_iter_t * <var class="pdparam">iter</var>;
const char * <var class="pdparam">modulename</var>;
const char * <var class="pdparam">keyname</var>;
const char ** <var class="pdparam">string_val</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.

retrieves a manifest value for a named module

If keyname is defined by the manifest for modulename, sets string_val to point to its value.

Parameters

iter

the iterator

modulename

the name of the module

keyname

the name of the item to be retrieved

string_val

the returned value

string_val is valid to read until the iterator is destroyed.

Return Values

1 if the value was defined, 0 otherwise