rados_conf_parse_env

Configure the cluster handle based on an environment variable

The contents of the environment variable are parsed as if they were Ceph command line options. If var is NULL, the CEPH_ARGS environment variable is used.

@pre rados_connect() has not been called on the cluster handle

@note BUG: this is not threadsafe - it uses a static buffer

@param cluster cluster handle to configure @param var name of the environment variable to read @returns 0 on success, negative error code on failure

extern (C)
int
rados_conf_parse_env
(,
const(char)* var
)

Meta