irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ruleExecSubmit.h
Go to the documentation of this file.
1 #ifndef RULE_EXEC_SUBMIT_H__
2 #define RULE_EXEC_SUBMIT_H__
3 
4 #include "rcConnect.h"
5 #include "objInfo.h"
6 #include "rodsDef.h"
7 
8 // definition for exeStatus
9 #define RE_RUNNING "RE_RUNNING"
10 #define RE_IN_QUEUE "RE_IN_QUEUE"
11 #define RE_FAILED "RE_FAILED"
12 
13 // definition for the statusFlag in getNextQueuedRuleExec
14 #define RE_FAILED_STATUS 0x1 // run the RE_FAILED too
15 
16 #define REI_BUF_LEN (100 * 1024)
17 
18 #define REI_FILE_NAME "rei"
19 #define DEF_REI_USER_NAME "systemUser"
20 #define PACKED_REI_DIR "packedRei"
21 typedef struct {
22  char ruleName[META_STR_LEN];
23  char reiFilePath[MAX_NAME_LEN];
24  char userName[NAME_LEN];
25  char exeAddress[NAME_LEN];
26  char exeTime[TIME_LEN];
27  char exeFrequency[NAME_LEN];
28  char priority[NAME_LEN];
29  char lastExecTime[NAME_LEN];
30  char exeStatus[NAME_LEN];
31  char estimateExeTime[NAME_LEN];
32  char notificationAddr[NAME_LEN];
35  char ruleExecId[NAME_LEN]; // this is the output of the ruleExecSubmit
37 #define RULE_EXEC_SUBMIT_INP_PI "str ruleName[META_STR_LEN]; str reiFilePath[MAX_NAME_LEN]; str userName[NAME_LEN]; str exeAddress[NAME_LEN]; str exeTime[TIME_LEN]; str exeFrequency[NAME_LEN]; str priority[NAME_LEN]; str lastExecTime[NAME_LEN]; str exeStatus[NAME_LEN]; str estimateExeTime[NAME_LEN]; str notificationAddr[NAME_LEN]; struct KeyValPair_PI; struct *BytesBuf_PI; str ruleExecId[NAME_LEN];"
38 
39 #ifdef __cplusplus
40 extern "C"
41 #endif
42 int rcRuleExecSubmit( rcComm_t *conn, ruleExecSubmitInp_t *ruleExecSubmitInp, char **ruleExecId );
43 #ifdef __cplusplus
44 extern "C"
45 #endif
46 int getReiFilePath( char *reiFilePath, char *userName );
47 
48 #endif
ruleExecSubmitInp_t::packedReiAndArgBBuf
bytesBuf_t * packedReiAndArgBBuf
Definition: ruleExecSubmit.h:34
rcComm_t
Definition: rcConnect.h:95
rcConnect.h
ruleExecSubmitInp_t::condInput
keyValPair_t condInput
Definition: ruleExecSubmit.h:33
META_STR_LEN
#define META_STR_LEN
Definition: rodsDef.h:65
TIME_LEN
#define TIME_LEN
Definition: rodsDef.h:54
rodsDef.h
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
rcRuleExecSubmit
int rcRuleExecSubmit(rcComm_t *conn, ruleExecSubmitInp_t *ruleExecSubmitInp, char **ruleExecId)
Definition: rcRuleExecSubmit.cpp:36
BytesBuf
Definition: rodsDef.h:197
ruleExecSubmitInp_t
Definition: ruleExecSubmit.h:21
getReiFilePath
int getReiFilePath(char *reiFilePath, char *userName)
Definition: rsRuleExecSubmit.cpp:156
objInfo.h
NAME_LEN
#define NAME_LEN
Definition: rodsDef.h:55
KeyValPair
Definition: objInfo.h:120