rados_conf_parse_argv

Configure the cluster handle with command line arguments

argv can contain any common Ceph command line option, including any configuration parameter prefixed by '--' and replacing spaces with dashes or underscores. For example, the following options are equivalent: - --mon-host 10.0.0.1:6789 - --mon_host 10.0.0.1:6789 - -m 10.0.0.1:6789

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

@param cluster cluster handle to configure @param argc number of arguments in argv @param argv arguments to parse @returns 0 on success, negative error code on failure

extern (C)
int
rados_conf_parse_argv
(,
int argc
,
const(char*)* argv
)

Meta