CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fs_traversal_libcvmfs.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <string>
#include <vector>
#include "fs_traversal_interface.h"
#include "fs_traversal_libcvmfs.h"
#include "libcvmfs.h"
#include "logging.h"
#include "smalloc.h"
#include "util/string.h"
Include dependency graph for fs_traversal_libcvmfs.cc:

Go to the source code of this file.

Classes

struct  libcvmfs_file_handle
 

Macros

#define MAX_INTEGER_DIGITS   20
 

Functions

void libcvmfs_sw_log (const char *msg)
 
void libcvmfs_list_dir (struct fs_traversal_context *ctx, const char *dir, char ***buf, size_t *len)
 
int libcvmfs_get_stat (struct fs_traversal_context *ctx, const char *path, struct cvmfs_attr *stat_result, bool get_hash)
 
char * libcvmfs_get_identifier (struct fs_traversal_context *ctx, const struct cvmfs_attr *stat)
 
bool libcvmfs_has_file (struct fs_traversal_context *ctx, const char *ident)
 
void * libcvmfs_get_handle (struct fs_traversal_context *ctx, const char *identifier)
 
int libcvmfs_do_fopen (void *file_ctx, fs_open_type op_mode)
 
int libcvmfs_do_fclose (void *file_ctx)
 
int libcvmfs_do_fread (void *file_ctx, char *buff, size_t len, size_t *read_len)
 
int libcvmfs_do_fwrite (void *file_ctx, const char *buff, size_t len)
 
void libcvmfs_do_ffree (void *file_ctx)
 
struct fs_traversal_contextlibcvmfs_initialize (const char *repo, const char *base, const char *data, const char *config, int num_threads)
 
void libcvmfs_finalize (struct fs_traversal_context *ctx)
 
struct fs_traversallibcvmfs_get_interface ()
 

Macro Definition Documentation

#define MAX_INTEGER_DIGITS   20

This file is part of the CernVM File System.

Definition at line 19 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_initialize().

Function Documentation

int libcvmfs_do_fclose ( void *  file_ctx)

Definition at line 105 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_do_ffree(), and libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

void libcvmfs_do_ffree ( void *  file_ctx)

Definition at line 138 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

int libcvmfs_do_fopen ( void *  file_ctx,
fs_open_type  op_mode 
)

Definition at line 94 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

int libcvmfs_do_fread ( void *  file_ctx,
char *  buff,
size_t  len,
size_t *  read_len 
)

Definition at line 115 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

int libcvmfs_do_fwrite ( void *  file_ctx,
const char *  buff,
size_t  len 
)

Definition at line 133 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the caller graph for this function:

void libcvmfs_finalize ( struct fs_traversal_context ctx)

Definition at line 247 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

void* libcvmfs_get_handle ( struct fs_traversal_context ctx,
const char *  identifier 
)

Definition at line 80 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the caller graph for this function:

char* libcvmfs_get_identifier ( struct fs_traversal_context ctx,
const struct cvmfs_attr stat 
)

Definition at line 52 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the caller graph for this function:

struct fs_traversal* libcvmfs_get_interface ( )

This file is part of the CernVM File System.

Definition at line 260 of file fs_traversal_libcvmfs.cc.

Referenced by shrinkwrap::FindInterface().

Here is the call graph for this function:

Here is the caller graph for this function:

int libcvmfs_get_stat ( struct fs_traversal_context ctx,
const char *  path,
struct cvmfs_attr stat_result,
bool  get_hash 
)

Definition at line 42 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

bool libcvmfs_has_file ( struct fs_traversal_context ctx,
const char *  ident 
)

Definition at line 63 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

struct fs_traversal_context* libcvmfs_initialize ( const char *  repo,
const char *  base,
const char *  data,
const char *  config,
int  num_threads 
)

Definition at line 149 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

void libcvmfs_list_dir ( struct fs_traversal_context ctx,
const char *  dir,
char ***  buf,
size_t *  len 
)

Definition at line 27 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_get_interface().

Here is the call graph for this function:

Here is the caller graph for this function:

void libcvmfs_sw_log ( const char *  msg)

Definition at line 22 of file fs_traversal_libcvmfs.cc.

Referenced by libcvmfs_initialize().

Here is the caller graph for this function: