flux_get_conf(3)
SYNOPSIS
#include <flux/core.h>
flux_conf_t *flux_get_conf (flux_t *h);
int flux_set_conf_new (flux_t *h, const flux_conf_t *conf);
Link with -lflux-core.
DESCRIPTION
flux_get_conf() retrieves a flux_conf_t object previously
associated with the broker handle h by a call to
flux_set_conf_new(). If one has not been previously associated,
an empty flux_conf_t object is associated on demand.
In broker modules, the current broker configuration is pre-associated.
flux_set_conf_new() associates a flux_conf_t object conf
with a broker handle h, stealing the reference to conf.
If one has been previously associated, its reference is dropped first.
RETURN VALUE
flux_get_conf() returns a flux_conf_t object on success.
On error, NULL is returned, and errno is set.
flux_set_conf_new() returns 0 on success, or -1 on failure with
errno set.
ERRORS
- ENOMEM
Out of memory.
RESOURCES
Flux: http://flux-framework.org
Flux RFC: https://flux-framework.readthedocs.io/projects/flux-rfc
Issue Tracker: https://github.com/flux-framework/flux-core/issues