mirror of https://github.com/BOINC/boinc.git
Move the definitions of common configuration keys to dc_internal.h
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@570 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
de652249dc
commit
21a94ef352
|
@ -24,10 +24,6 @@ extern "C" {
|
|||
* Constants
|
||||
*/
|
||||
|
||||
/* Master's working directory (absolute path) */
|
||||
#define CFG_WORKDIR "WorkingDirectory"
|
||||
/* Application instance UUID */
|
||||
#define CFG_INSTANCEUUID "InstanceUUID"
|
||||
/* Location of config.xml */
|
||||
#define CFG_CONFIGXML "BoincConfigXML"
|
||||
/* The root direcory of the BOINC project */
|
||||
|
|
|
@ -49,8 +49,6 @@ typedef enum
|
|||
FILE_DCAPI
|
||||
} WorkdirFile;
|
||||
|
||||
#define CFG_WORKDIR "WorkingDirectory"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* Copyright MTA SZTAKI, 2006
|
||||
*/
|
||||
|
||||
/* <Tell gtk-doc that this is a private_header> */
|
||||
/* <private_header> */
|
||||
|
||||
#ifndef __DC_INTERNAL_H_
|
||||
#define __DC_INTERNAL_H_
|
||||
|
@ -18,6 +18,20 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/********************************************************************
|
||||
* Constants
|
||||
*/
|
||||
|
||||
/* Master's working directory (absolute path) */
|
||||
#define CFG_WORKDIR "WorkingDirectory"
|
||||
/* Application instance UUID */
|
||||
#define CFG_INSTANCEUUID "InstanceUUID"
|
||||
/* Log level */
|
||||
#define CFG_LOGLEVEL "LogLevel"
|
||||
/* Log file location */
|
||||
#define CFG_LOGFILE "LogFile"
|
||||
|
||||
|
||||
/********************************************************************
|
||||
* Function prototypes
|
||||
*/
|
||||
|
|
|
@ -17,9 +17,7 @@ extern "C" {
|
|||
*/
|
||||
|
||||
/* DCAPI configuration keys */
|
||||
#define CFG_WORKDIR "WorkingDirectory"
|
||||
#define CFG_SLEEPINTERVAL "SleepingInterval"
|
||||
#define CFG_INSTANCEUUID "InstanceUUID"
|
||||
|
||||
#define DEFAULT_SLEEP_INTERVAL 5
|
||||
|
||||
|
|
Loading…
Reference in New Issue