2006-09-08 07:53:32 +00:00
|
|
|
/*
|
|
|
|
* condor/condor_common.h
|
|
|
|
*
|
|
|
|
* DC-API functions common for master and slave side
|
|
|
|
*
|
|
|
|
* (c) Daniel Drotos, 2006
|
|
|
|
*/
|
|
|
|
|
2006-05-17 12:12:09 +00:00
|
|
|
|
2006-05-09 11:06:29 +00:00
|
|
|
#ifndef _DC_API_CONDOR_COMMON_H_
|
|
|
|
#define _DC_API_CONDOR_COMMON_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-08-23 09:34:46 +00:00
|
|
|
#define CLIENT_CONFIG_NAME "_dcapi_configfile.txt"
|
2006-06-21 09:58:13 +00:00
|
|
|
|
2006-08-23 09:34:46 +00:00
|
|
|
|
2006-08-24 13:01:03 +00:00
|
|
|
enum _DC_e_param {
|
|
|
|
cfg_client_message_box= 0,
|
|
|
|
cfg_master_message_box,
|
|
|
|
cfg_subresults_box,
|
|
|
|
cfg_management_box,
|
|
|
|
cfg_architectures,
|
|
|
|
cfg_submit_file,
|
|
|
|
cfg_executable,
|
|
|
|
cfg_leave_files,
|
|
|
|
cfg_condor_log,
|
2006-08-25 11:02:52 +00:00
|
|
|
cfg_checkpoint_file,
|
2006-08-28 09:16:26 +00:00
|
|
|
cfg_output_cache,
|
2006-11-20 12:44:55 +00:00
|
|
|
cfg_condor_submit_template,
|
2006-08-24 13:01:03 +00:00
|
|
|
cfg_nuof
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _DC_s_param {
|
|
|
|
char *name;
|
|
|
|
char *def;
|
2007-01-16 12:54:33 +00:00
|
|
|
char *lvalue;
|
|
|
|
char *gvalue;
|
2006-08-24 13:01:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern struct _DC_s_param _DC_params[cfg_nuof];
|
|
|
|
|
|
|
|
extern void _DC_init_common(void);
|
2006-08-23 09:34:46 +00:00
|
|
|
|
2006-06-21 09:58:13 +00:00
|
|
|
|
2006-08-28 09:16:26 +00:00
|
|
|
#define _DCAPI_MSG_MESSAGE "message"
|
|
|
|
#define _DCAPI_MSG_LOGICAL "logical_name"
|
|
|
|
#define _DCAPI_MSG_COMMAND "command"
|
|
|
|
#define _DCAPI_MSG_ACK "acknowledge"
|
|
|
|
|
|
|
|
#define _DCAPI_CMD_SUSPEND "suspend"
|
|
|
|
#define _DCAPI_ACK_SUSPEND "suspending"
|
|
|
|
|
|
|
|
#define _DCAPI_CMD_RESUME "resume"
|
|
|
|
|
2006-09-06 12:48:11 +00:00
|
|
|
#define _DCAPI_SIG_SERIALIZED "serialized"
|
|
|
|
|
2006-08-28 09:16:26 +00:00
|
|
|
|
2006-05-09 11:06:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2006-05-10 09:28:11 +00:00
|
|
|
|
|
|
|
/* End of condor/condor_common.h */
|
2006-09-08 07:53:32 +00:00
|
|
|
|
|
|
|
/* Local variables: */
|
|
|
|
/* c-file-style: "linux" */
|
|
|
|
/* End: */
|