From b333d0ea9a80d0107a08ef09d25d16dee5954062 Mon Sep 17 00:00:00 2001 From: vida Date: Tue, 11 Apr 2006 14:17:44 +0000 Subject: [PATCH] Definied standard output and error files, and redifined ckpt file. (In stand-alone version, we dont need input plus output ckpt file) And definied MAX_SUBRESULTS 100. git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@451 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/local/common_defs.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dcapi/local/common_defs.h b/dcapi/local/common_defs.h index 0355e41497..0af1e54bef 100644 --- a/dcapi/local/common_defs.h +++ b/dcapi/local/common_defs.h @@ -9,9 +9,14 @@ extern "C" { /* Prefix of subresult file labels */ #define SUBRESULT_PFX "dc_subresult_" +/* Logical names of the standard output file */ +#define STDOUT_LABEL "dc_stdout" + +/* Logical names of the standard error file */ +#define STDERR_LABEL "dc_stderr" + /* Logical names of the checkpoint file */ -#define CKPT_LABEL_IN "dc_checkpoint.in" -#define CKPT_LABEL_OUT "dc_checkpoint.out" +#define CKPT_LABEL "dc_checkpoint" /* Name of the client-side config. file */ #define CLIENTCONF_LABEL "dc_client.conf" @@ -19,6 +24,9 @@ extern "C" { /* Maximum allowed message length */ #define MAX_MESSAGE_SIZE 16384 +/* Maximum allowed message length */ +#define MAX_SUBRESULTS 100 + /* Prefix for internal messages between the client-side and master-side DC-API */ #define DCAPI_MSG_PFX "__dcapi__"