2006-02-23 14:01:47 +00:00
|
|
|
/*
|
|
|
|
* DC-API: Distributed Computing Platform for Master-Worker Applications
|
|
|
|
*
|
|
|
|
* Internal definitions
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Gabor Gombas <gombasg@sztaki.hu>
|
|
|
|
*
|
|
|
|
* Copyright MTA SZTAKI, 2006
|
|
|
|
*/
|
2006-04-08 11:25:18 +00:00
|
|
|
|
|
|
|
/* <Tell gtk-doc that this is a private_header> */
|
|
|
|
|
2006-02-23 14:01:47 +00:00
|
|
|
#ifndef __DC_INTERNAL_H_
|
|
|
|
#define __DC_INTERNAL_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Function prototypes
|
|
|
|
*/
|
|
|
|
|
2006-04-08 11:25:18 +00:00
|
|
|
/* Parses the config file and stores its contents in memory.
|
2006-02-23 14:01:47 +00:00
|
|
|
*
|
|
|
|
* @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);
|
|
|
|
|
2006-04-08 11:25:18 +00:00
|
|
|
/* Gets the value for the given key.
|
2006-02-23 14:01:47 +00:00
|
|
|
*
|
|
|
|
* @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_ */
|