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)  

execCmd.h
Go to the documentation of this file.
1 #ifndef EXEC_CMD_H__
2 #define EXEC_CMD_H__
3 
4 #include "rodsConnect.h"
5 #include "procApiRequest.h"
6 #include "dataObjInpOut.h"
7 
8 #define CMD_DIR "../../var/lib/irods/msiExecCmd_bin"
9 
10 typedef struct ExecCmd {
13  char execAddr[LONG_NAME_LEN]; // if non empty, exec at this addr
14  char hintPath[MAX_NAME_LEN]; // exec where is file is located
15  int addPathToArgv; // whether to add the resolved phy path to the argv.
16  int dummy; // 64 bit alignment
19 
20 typedef struct ExecCmdOut {
23  int status; // have to move status to back for 64 bit addr
25 
26 #define ExecCmd_PI "str cmd[LONG_NAME_LEN]; str cmdArgv[HUGE_NAME_LEN]; str execAddr[LONG_NAME_LEN]; str hintPath[MAX_NAME_LEN]; int addPathToArgv; int dummy; struct KeyValPair_PI;"
27 #define ExecCmdOut_PI "struct BinBytesBuf_PI; struct BinBytesBuf_PI; int status;"
28 
29 #ifdef __cplusplus
30 extern "C"
31 #endif
32 int rcExecCmd( rcComm_t *conn, execCmd_t *execCmdInp, execCmdOut_t **execCmdOut );
33 
34 #endif
rcComm_t
Definition: rcConnect.h:95
ExecCmd::execAddr
char execAddr[256]
Definition: execCmd.h:13
ExecCmd::hintPath
char hintPath[(1024+64)]
Definition: execCmd.h:14
ExecCmdOut
Definition: execCmd.h:20
HUGE_NAME_LEN
#define HUGE_NAME_LEN
Definition: rodsDef.h:62
LONG_NAME_LEN
#define LONG_NAME_LEN
Definition: rodsDef.h:57
rodsConnect.h
dataObjInpOut.h
ExecCmdOut::status
int status
Definition: execCmd.h:23
ExecCmdOut::stdoutBuf
bytesBuf_t stdoutBuf
Definition: execCmd.h:21
procApiRequest.h
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
rcExecCmd
int rcExecCmd(rcComm_t *conn, execCmd_t *execCmdInp, execCmdOut_t **execCmdOut)
Definition: rcExecCmd.cpp:34
ExecCmd::condInput
keyValPair_t condInput
Definition: execCmd.h:17
BytesBuf
Definition: rodsDef.h:197
ExecCmd::dummy
int dummy
Definition: execCmd.h:16
ExecCmd
Definition: execCmd.h:10
ExecCmd::addPathToArgv
int addPathToArgv
Definition: execCmd.h:15
execCmd_t
struct ExecCmd execCmd_t
execCmdOut_t
struct ExecCmdOut execCmdOut_t
KeyValPair
Definition: objInfo.h:120
ExecCmd::cmd
char cmd[256]
Definition: execCmd.h:11
ExecCmd::cmdArgv
char cmdArgv[100000]
Definition: execCmd.h:12
ExecCmdOut::stderrBuf
bytesBuf_t stderrBuf
Definition: execCmd.h:22