Skip to main content

ec_module_manifest_value_as_list

Last updated March 2020

Name

ec_module_manifest_value_as_list — retrieves a list of manifest values for a named module

Synopsis

#include "module.h"

| int **ec_module_manifest_value_as_list** ( | iter, |   | |   | modulename, |   | |   | keyname, |   | |   | list); |   |

ec_module_manifest_iter_t * <var class="pdparam">iter</var>; const char * <var class="pdparam">modulename</var>; const char * <var class="pdparam">keyname</var>; ec_ptr_array ** <var class="pdparam">list</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 list 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 list to a pointer array containing the list values. The caller is responsible for ec_ptr_array_destroy()ing and free()ing the list if it is returned.

Parameters

iter

the iterator

modulename

the name of the module

keyname

the name of the item to be retrieved

list

the pointer array holding the data

Return Values

1 if defined, 0 otherwise.

Was this page helpful?