![]() |
CernVM-FS
2.12.0
|
#include "libcvmfs.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <string>
#include "options.h"
Go to the source code of this file.
Functions | |
SimpleOptionsParser * | cvmfs_options_clone (SimpleOptionsParser *opts) |
void | cvmfs_options_fini (SimpleOptionsParser *opts) |
void | cvmfs_options_free (char *value) |
char * | cvmfs_options_get (SimpleOptionsParser *opts, const char *key) |
char * | cvmfs_options_dump (SimpleOptionsParser *opts) |
SimpleOptionsParser * | cvmfs_options_init () |
SimpleOptionsParser * | cvmfs_options_init_v2 (int taint_environ) |
void | cvmfs_options_set (SimpleOptionsParser *opts, const char *key, const char *value) |
int | cvmfs_options_parse (SimpleOptionsParser *opts, const char *path) |
void | cvmfs_options_parse_default (SimpleOptionsParser *opts, const char *fqrn) |
void | cvmfs_options_unset (SimpleOptionsParser *opts, const char *key) |
SimpleOptionsParser* cvmfs_options_clone | ( | SimpleOptionsParser * | opts | ) |
Definition at line 20 of file libcvmfs_options.cc.
char* cvmfs_options_dump | ( | SimpleOptionsParser * | opts | ) |
void cvmfs_options_fini | ( | SimpleOptionsParser * | opts | ) |
Definition at line 27 of file libcvmfs_options.cc.
void cvmfs_options_free | ( | char * | value | ) |
Frees a string returned from cvmfs_options_get() or cvmfs_options_dump().
Definition at line 32 of file libcvmfs_options.cc.
char* cvmfs_options_get | ( | SimpleOptionsParser * | opts, |
const char * | key | ||
) |
SimpleOptionsParser* cvmfs_options_init | ( | ) |
An option map must be created an populated before calling cvmfs_init_v2().
Definition at line 55 of file libcvmfs_options.cc.
Referenced by cvmfs_attach_repo(), and cvmfs_options_init_legacy().
SimpleOptionsParser* cvmfs_options_init_v2 | ( | int | taint_environ | ) |
Like cvmfs_options_init but let decide whether or not cvmfs options make it to the process environment. Relevant for resolving symbolic links.
Definition at line 60 of file libcvmfs_options.cc.
Referenced by cvmfs_options_init(), and libcvmfs_initialize().
int cvmfs_options_parse | ( | SimpleOptionsParser * | opts, |
const char * | path | ||
) |
void cvmfs_options_parse_default | ( | SimpleOptionsParser * | opts, |
const char * | fqrn | ||
) |
void cvmfs_options_set | ( | SimpleOptionsParser * | opts, |
const char * | key, | ||
const char * | value | ||
) |
void cvmfs_options_unset | ( | SimpleOptionsParser * | opts, |
const char * | key | ||
) |