21 #ifndef OPAL_UTIL_KEYVAL_PARSE_H
22 #define OPAL_UTIL_KEYVAL_PARSE_H
24 #include "opal_config.h"
49 OPAL_DECLSPEC
int opal_util_keyval_parse_init(
void);
51 OPAL_DECLSPEC
int opal_util_keyval_parse_finalize(
void);
OPAL_DECLSPEC int opal_util_keyval_parse(const char *filename, opal_keyval_parse_fn_t callback)
Parse filename, made up of key = value pairs.
Definition: keyval_parse.c:42
BEGIN_C_DECLS typedef void(* opal_keyval_parse_fn_t)(const char *key, const char *value)
Callback triggered for each key = value pair.
Definition: keyval_parse.h:36