/* * DC-API: Distributed Computing Platform for Master-Worker Applications * * Internal definitions * * Authors: * Gabor Gombas * * Copyright MTA SZTAKI, 2006 */ /* */ #ifndef __DC_INTERNAL_H_ #define __DC_INTERNAL_H_ #ifdef __cplusplus extern "C" { #endif /******************************************************************** * Function prototypes */ /* Parses the config file and stores its contents in memory. * * @cfgfile: the name of the config file. May not be %NULL. * * @Returns: 0 if successful or an error code. */ int _DC_parseCfg(const char *cfgfile); /* Gets the value for the given key. * * @name: the name of the key to query. * * @Returns: the value for the key. */ const char *_DC_getCfgStr(const char *name); #ifdef __cplusplus } #endif #endif /* __DC_INTERNAL_H_ */