AraWebPlotter/configLib/configLib.h File Reference
The configuration file hadling library. More...
#include "time.h"
Go to the source code of this file.
Defines | |
#define | BLOCKNAME_MAX 64 |
#define | CONFIG_VAR "DAQ_CONFIG_DIR" |
#define | MAX_BLOCKS 32 |
#define | RECLEN_MAX 4096 |
Enumerations | |
enum | ConfigErrorCode { CONFIG_E_OK = 0, CONFIG_E_NOFILE = 0x100, CONFIG_E_NESTING, CONFIG_E_EOF, CONFIG_E_SYSTEM, CONFIG_E_KVP, CONFIG_E_SECTION, CONFIG_E_UNNAMED } |
Functions | |
ConfigErrorCode | configAppend (char *fileName, char *blockName) |
const char * | configErrorString (ConfigErrorCode code) |
char * | configFileSpec (char *fileName) |
ConfigErrorCode | configLoad (const char *fleName, const char *blockList) |
ConfigErrorCode | configLoadFullPath (char *fleName, char *blockList) |
ConfigErrorCode | configModifyFloat (char *fileName, char *blockName, char *key, float value, time_t *rawTimePtr) |
ConfigErrorCode | configModifyFloatArray (char *fileName, char *blockName, char *key, float *values, int length, time_t *rawTimePtr) |
ConfigErrorCode | configModifyInt (char *fileName, char *blockName, char *key, int value, time_t *rawTimePtr) |
ConfigErrorCode | configModifyIntArray (char *fileName, char *blockName, char *key, int *values, int length, time_t *rawTimePtr) |
ConfigErrorCode | configModifyString (char *fileName, char *blockName, char *key, char *value, time_t *rawTimePtr) |
ConfigErrorCode | configModifyUnsignedInt (char *fileName, char *blockName, char *key, unsigned long value, time_t *rawTimePtr) |
ConfigErrorCode | configModifyUnsignedIntArray (char *fileName, char *blockName, char *key, unsigned int *values, int length, time_t *rawTimePtr) |
ConfigErrorCode | configReplace (char *oldFileName, char *newFileName, time_t *rawTimePtr) |
ConfigErrorCode | configStore (char *fileName, char *blockName) |
ConfigErrorCode | configSwitch (char *configFile, char whichConfig, time_t *rawTimePtr) |
ConfigErrorCode | configSwitchToLast (char *configFile, time_t *rawTimePtr) |
ConfigErrorCode | configValidate (char *fileName) |
ConfigErrorCode | readBlocks (char *fileName, char blockList[MAX_BLOCKS][BLOCKNAME_MAX], int *numBlocks) |
Detailed Description
The configuration file hadling library.Originally by G.J.Crone, University College London. Adapted for ANITA flight software use by R.J.Nichol, Ohio State University. Contains routines for using kvpLib to parse human readable formatted config files. September 2004 rjn@mps.ohio-state.edu
Definition in file configLib.h.
Generated on Mon Jun 3 14:59:47 2013 for ARA ROOT v3.8 Software by
