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 File Reference
#include "rcConnect.h"
#include "objInfo.h"
#include "rodsDef.h"
Include dependency graph for ruleExecSubmit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ruleExecSubmitInp_t
 

Macros

#define RE_RUNNING   "RE_RUNNING"
 
#define RE_IN_QUEUE   "RE_IN_QUEUE"
 
#define RE_FAILED   "RE_FAILED"
 
#define RE_FAILED_STATUS   0x1
 
#define REI_BUF_LEN   (100 * 1024)
 
#define REI_FILE_NAME   "rei"
 
#define DEF_REI_USER_NAME   "systemUser"
 
#define PACKED_REI_DIR   "packedRei"
 
#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];"
 

Functions

int rcRuleExecSubmit (rcComm_t *conn, ruleExecSubmitInp_t *ruleExecSubmitInp, char **ruleExecId)
 
int getReiFilePath (char *reiFilePath, char *userName)
 

Macro Definition Documentation

◆ DEF_REI_USER_NAME

#define DEF_REI_USER_NAME   "systemUser"

Definition at line 20 of file ruleExecSubmit.h.

◆ PACKED_REI_DIR

#define PACKED_REI_DIR   "packedRei"

Definition at line 21 of file ruleExecSubmit.h.

◆ RE_FAILED

#define RE_FAILED   "RE_FAILED"

Definition at line 12 of file ruleExecSubmit.h.

◆ RE_FAILED_STATUS

#define RE_FAILED_STATUS   0x1

Definition at line 15 of file ruleExecSubmit.h.

◆ RE_IN_QUEUE

#define RE_IN_QUEUE   "RE_IN_QUEUE"

Definition at line 11 of file ruleExecSubmit.h.

◆ RE_RUNNING

#define RE_RUNNING   "RE_RUNNING"

Definition at line 10 of file ruleExecSubmit.h.

◆ REI_BUF_LEN

#define REI_BUF_LEN   (100 * 1024)

Definition at line 17 of file ruleExecSubmit.h.

◆ REI_FILE_NAME

#define REI_FILE_NAME   "rei"

Definition at line 19 of file ruleExecSubmit.h.

◆ RULE_EXEC_SUBMIT_INP_PI

#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];"

Definition at line 38 of file ruleExecSubmit.h.

Function Documentation

◆ getReiFilePath()

int getReiFilePath ( char *  reiFilePath,
char *  userName 
)

Definition at line 156 of file rsRuleExecSubmit.cpp.

References irods::error::code(), DEF_REI_USER_NAME, irods::get_full_path_for_unmoved_configs(), irods::log(), MAX_NAME_LEN, NULL, irods::error::ok(), PACKED_REI_DIR, PASS, REI_FILE_NAME, and SYS_INTERNAL_NULL_INPUT_ERR.

Referenced by _rsRuleExecSubmit().

Here is the call graph for this function: