Infrasctucture CacheAcc Function Reference
CacheAcc
#include "inf.h"
Functions for accessing the cyrptoCache and cfgCache servers then automatically unloading response messages into the Var array.   The cfgCache strips off all dot suffixes from program name or device name so that cloned processes all use the same configuration.   Any time you wish to have a group of processes share a single config, just named them with dot number suffix.   For example "worker.1" and "worker.2" will share the "worker" config in the cfgCache.   BTW, if you clone "worker.1" the first resulting clone's name will be "worker.1.1" which will use the "worker" configuration.
To define dynamic configuration variables in a 'C' program, use the ~VARS keyword (on a comment line //) followed by a list of the variable names.   Multiple ~VARS lines may be used.   Then add an include of the current file plus Vars.c (if curr file is barf.c the included file would be barfVars.c).   From then on you may directly access the names on the ~VARS line as if they were char * variables (which they now are).

caGetPwds     caGetCfg    

int caGetPwds( char* devName )
Sends a message the cryptoCache server requesting all passwords for the named process (devName).   When the response arrives, the passwords are unloaded int the Var array and your new variable contents are now available.   This may be run at the start of Orb requests to this server in order to be sure that any password changes are used.

int  caGetCfg( char* devName )
Sends a message the cfgCache server requesting all variables for the named process (devName).   When the response arrives, it is unloaded int the Var array and your new variable contents are now available.