nfs-ganesha 1.4
Functions | Variables

cache_content_read_conf.c File Reference

Management of the file content cache: configuration file parsing. More...

#include "LRU_List.h"
#include "log.h"
#include "HashData.h"
#include "HashTable.h"
#include "fsal.h"
#include "cache_inode.h"
#include "cache_content.h"
#include "config_parsing.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <time.h>
#include <pthread.h>
#include <string.h>

Go to the source code of this file.

Functions

cache_content_status_t cache_content_read_conf_client_parameter (config_file_t in_config, cache_content_client_parameter_t *pparam)
void cache_content_print_conf_client_parameter (FILE *output, cache_content_client_parameter_t param)
cache_content_status_t cache_content_read_conf_gc_policy (config_file_t in_config, cache_content_gc_policy_t *ppolicy)
void cache_content_print_conf_gc_policy (FILE *output, cache_content_gc_policy_t gcpolicy)

Variables

char fcc_log_path [MAXPATHLEN]
int fcc_debug_level = -1

Detailed Description

Management of the file content cache: configuration file parsing.

Author:
Author:
deniel
Date:
Date:
2005/11/28 17:02:33
Version:
Revision:
1.10

cache_content_read_conf.c : Management of the file content cache: configuration file parsing.

Definition in file cache_content_read_conf.c.


Function Documentation

void cache_content_print_conf_client_parameter ( FILE *  output,
cache_content_client_parameter_t  param 
)

cache_content_print_conf_client_parameter: prints the client parameter.

Prints the client parameters.

Parameters:
output[IN] a descriptor to the IO for printing the data.
param[IN] structure to be printed.
Returns:
nothing (void function).

Definition at line 201 of file cache_content_read_conf.c.

void cache_content_print_conf_gc_policy ( FILE *  output,
cache_content_gc_policy_t  gcpolicy 
)

cache_content_print_gc_pol: prints the garbage collection policy.

Prints the garbage collection policy.

Parameters:
output[IN] a descriptor to the IO for printing the data.
param[IN] structure to be printed.
Returns:
nothing (void function).

Definition at line 316 of file cache_content_read_conf.c.

cache_content_status_t cache_content_read_conf_client_parameter ( config_file_t  in_config,
cache_content_client_parameter_t pparam 
)

Todo:
: BUGAZOMEU: to be removed

Definition at line 77 of file cache_content_read_conf.c.

cache_content_status_t cache_content_read_conf_gc_policy ( config_file_t  in_config,
cache_content_gc_policy_t ppolicy 
)

cache_content_read_conf_gc_policy: read the garbage collection policy in configuration file.

Reads the garbage collection policy in configuration file.

Parameters:
in_config[IN] configuration file handle
pparam[OUT] read parameters
Returns:
CACHE_CONTENT_SUCCESS if ok, CACHE_CONTENT_NOT_FOUND is stanza is not there, CACHE_CONTENT_INVALID_ARGUMENT otherwise.

Definition at line 224 of file cache_content_read_conf.c.


Variable Documentation

int fcc_debug_level = -1

Definition at line 63 of file cache_content_read_conf.c.

char fcc_log_path[MAXPATHLEN]

Definition at line 62 of file cache_content_read_conf.c.