#ident "$URL: svn://elmer/devel/SVN/SDDAS/trunk/libCfg/libCfg.h $ %D% SwRI" #ifndef _libCfg_h #define _libCfg_h #include "SDDAS_types.h" #include "StrHier.h" #include "LinkList.h" #if defined(__cplusplus) extern "C" { #endif /*************************************************************** * public routines ***************************************************************/ void CfgInit (); /* CfgInit.c */ void CfgInitSCF (); /* CfgInitSCF.c */ char *CfgGetItem (const char *, int, ...); char *CfgGetPath (const char *, ...); void CfgTerm (); /* CfgTerm.c */ /* Do not use the routines below - will hopefully be removed in time */ /* backward compatible routines have been added! */ SDDAS_CHAR *CfgItem (StrHier, SDDAS_CHAR *, SDDAS_INT); /* CfgItem.c */ SDDAS_CHAR *CfgPath (StrHier, SDDAS_CHAR *, SDDAS_INT); /* CfgPath.c */ LinkList CfgProjects (); LinkList CfgHierarchy (int, ...); char *CfgListName (void *); StrHier CfgStrHier (int, ...); StrHier SourceByStr (LinkList, ...); /* SourceByStr.c */ #ifndef NEW_DB SDDAS_CHAR *DbfFile (StrHier); /* ItemValue.c */ StrHier SourceByNum (LinkList, ...); /* SourceByNum.c */ #ifdef _CfgInit_ LinkList Projects = 0x0; #else extern LinkList Projects; #endif #endif #if defined(__cplusplus) } #endif #endif