CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
libcvmfs_options.cc File Reference
#include "cvmfs_config.h"
#include "libcvmfs.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <string>
#include "options.h"
Include dependency graph for libcvmfs_options.cc:

Go to the source code of this file.

Functions

SimpleOptionsParsercvmfs_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)
 
SimpleOptionsParsercvmfs_options_init ()
 
SimpleOptionsParsercvmfs_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)
 

Function Documentation

SimpleOptionsParser* cvmfs_options_clone ( SimpleOptionsParser opts)

Definition at line 20 of file libcvmfs_options.cc.

char* cvmfs_options_dump ( SimpleOptionsParser opts)

Definition at line 48 of file libcvmfs_options.cc.

Here is the call graph for this function:

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.

Referenced by cvmfs_test_attach(), and main().

Here is the caller graph for this function:

char* cvmfs_options_get ( SimpleOptionsParser opts,
const char *  key 
)

Definition at line 37 of file libcvmfs_options.cc.

Here is the call graph for this function:

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(), cvmfs_options_init_legacy(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int cvmfs_options_parse ( SimpleOptionsParser opts,
const char *  path 
)

Definition at line 80 of file libcvmfs_options.cc.

Here is the call graph for this function:

void cvmfs_options_parse_default ( SimpleOptionsParser opts,
const char *  fqrn 
)

Definition at line 85 of file libcvmfs_options.cc.

Here is the call graph for this function:

void cvmfs_options_set ( SimpleOptionsParser opts,
const char *  key,
const char *  value 
)

Definition at line 71 of file libcvmfs_options.cc.

Here is the call graph for this function:

void cvmfs_options_unset ( SimpleOptionsParser opts,
const char *  key 
)

Definition at line 89 of file libcvmfs_options.cc.

Here is the call graph for this function: