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-27 14:52:13 +00:00
|
|
|
/* Parses a configuration file */
|
2006-02-23 14:01:47 +00:00
|
|
|
int _DC_parseCfg(const char *cfgfile);
|
|
|
|
|
2006-04-10 12:43:01 +00:00
|
|
|
/* Copies a file */
|
|
|
|
int _DC_copyFile(const char *src, const char *dst);
|
|
|
|
|
2006-04-27 14:52:13 +00:00
|
|
|
/* Processes a unit suffix and adjust the value accordingly */
|
2006-05-10 11:54:23 +00:00
|
|
|
long long _DC_processSuffix(const char *suffix);
|
2006-04-27 14:52:13 +00:00
|
|
|
|
2006-02-23 14:01:47 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __DC_INTERNAL_H_ */
|