#include <stdlib.h>#include <string.h>#include <stdio.h>#include <sys/types.h>#include <unistd.h>#include <pthread.h>#include <rexx.h>#include <oorexxapi.h>#include "PlatformDefinitions.h"#include "../../hostemu.h"Go to the source code of this file.
Classes | |
| struct | _LL |
Typedefs | |
| typedef struct _LL | LL |
| typedef LL * | PLL |
Functions | |
| static unsigned long | ExecIO_Write_From_Stem (PLL pll) |
| static unsigned long | ExecIO_Write_From_Queue (PLL pll) |
| static unsigned long | ExecIO_Read_To_Stem (PLL pll) |
| static unsigned long | ExecIO_Read_To_Queue (PLL pll) |
| static PLL | Search_LL (char *SFilename) |
| static void | Insert_LL (PLL pll) |
| static void | Delete_LL (PLL pll) |
| static long | queued (void) |
| static void | push (char *pushstr, long lOp) |
| static char * | pull (void) |
| unsigned long | FetchRexxVar (char *pszVar, PRXSTRING prxVar) |
| unsigned long | SetRexxVar (char *pszVar, char *pValue, size_t ulLen) |
| RexxReturnCode RexxEntry | GrxHost (PCONSTRXSTRING command, unsigned short int *flags, PRXSTRING retc) |
| static void | hostemu_loader (RexxThreadContext *context) |
| static void | hostemu_unloader (RexxThreadContext *context) |
| OOREXX_GET_PACKAGE (hostemu) | |
Variables | |
| PCONSTRXSTRING | prxCmd = NULL |
| EXECIO_OPTIONS | ExecIO_Options |
| long | lCmdPtr |
| unsigned long | ulNumSym |
| char * | pszSymbol [SYMTABLESIZE] |
| char | szInline [100000] |
| long | lStmtType |
| static pthread_mutex_t | hmtxExecIO = PTHREAD_MUTEX_INITIALIZER |
| static PLL | pHead = NULL |
| static PLL | pTail = NULL |
| RexxPackageEntry | hostemu_package_entry |
Definition at line 85 of file unix/hostemu.cpp.
|
static |
|
static |
Definition at line 678 of file unix/hostemu.cpp.
References ERR_EXECIO_EOF, ExecIO_Options, _EXECIO_OPTIONS::lDirection, _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, _LL::pFile, push(), and szInline.
Referenced by GrxHost().
|
static |
Definition at line 586 of file unix/hostemu.cpp.
References _EXECIO_OPTIONS::aStem, ERR_EXECIO_EOF, ERR_EXECIO_NO_STORAGE, ERR_EXECIO_VAR_INVALID, ExecIO_Options, _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, _LL::pFile, SetRexxVar(), and szInline.
Referenced by GrxHost().
|
static |
Definition at line 507 of file unix/hostemu.cpp.
References ExecIO_Options, _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, _LL::pFile, pull(), queued(), and RexxFreeMemory().
Referenced by GrxHost().
|
static |
Definition at line 427 of file unix/hostemu.cpp.
References _EXECIO_OPTIONS::aStem, ERR_EXECIO_NO_STORAGE, ERR_EXECIO_VAR_INVALID, ExecIO_Options, FetchRexxVar(), _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, _LL::pFile, RexxFreeMemory(), and _RXSTRING::strptr.
Referenced by GrxHost().
| unsigned long FetchRexxVar | ( | char * | pszVar, |
| PRXSTRING | prxVar | ||
| ) |
Definition at line 145 of file unix/hostemu.cpp.
References RexxAllocateMemory(), RexxFreeMemory(), RexxVariablePool(), RXSHV_MEMFL, RXSHV_NEWV, RXSHV_OK, RXSHV_SYFET, _SHVBLOCK::shvcode, _SHVBLOCK::shvname, _SHVBLOCK::shvnamelen, _SHVBLOCK::shvnext, _SHVBLOCK::shvret, _SHVBLOCK::shvvalue, _SHVBLOCK::shvvaluelen, _RXSTRING::strlength, and _RXSTRING::strptr.
Referenced by ExecIO_Write_From_Stem().
| RexxReturnCode RexxEntry GrxHost | ( | PCONSTRXSTRING | command, |
| unsigned short int * | flags, | ||
| PRXSTRING | retc | ||
| ) |
Definition at line 267 of file unix/hostemu.cpp.
References _EXECIO_OPTIONS::aFilename, _EXECIO_OPTIONS::aStem, DEFRXSTRING, Delete_LL(), ERR_EXECIO_BAD_PLIST, ERR_EXECIO_NO_STORAGE, ExecIO_Options, ExecIO_Read_To_Queue(), ExecIO_Read_To_Stem(), EXECIO_STMT, ExecIO_Write_From_Queue(), ExecIO_Write_From_Stem(), _EXECIO_OPTIONS::fFinis, _LL::FileName, _EXECIO_OPTIONS::fRW, HI_STMT, hmtxExecIO, Insert_LL(), lCmdPtr, _EXECIO_OPTIONS::lDirection, _EXECIO_OPTIONS::lRcdCnt, _EXECIO_OPTIONS::lStartRcd, lStmtType, _LL::pFile, prxCmd, pszSymbol, RexxResetTrace(), RexxSetHalt(), RexxSetTrace(), RXSUBCOM_ERROR, RXSUBCOM_FAILURE, RXSUBCOM_OK, Search_LL(), _RXSTRING::strlength, _RXSTRING::strptr, TE_STMT, TS_STMT, ulNumSym, and yyparse().
Referenced by hostemu_loader().
|
static |
Definition at line 918 of file unix/hostemu.cpp.
References GrxHost(), and RexxRegisterSubcomExe().
|
static |
Definition at line 929 of file unix/hostemu.cpp.
References _LL::next, _LL::pFile, and pHead.
|
static |
| OOREXX_GET_PACKAGE | ( | hostemu | ) |
|
static |
Definition at line 905 of file unix/hostemu.cpp.
References RexxPullFromQueue(), RXQUEUE_WAIT, and _RXSTRING::strptr.
Referenced by ExecIO_Write_From_Queue().
|
static |
Definition at line 875 of file unix/hostemu.cpp.
References RexxAddQueue(), _CONSTRXSTRING::strlength, and _CONSTRXSTRING::strptr.
Referenced by ExecIO_Read_To_Queue().
|
static |
Definition at line 847 of file unix/hostemu.cpp.
References RexxQueryQueue().
Referenced by ExecIO_Write_From_Queue().
|
static |
Definition at line 744 of file unix/hostemu.cpp.
References _LL::FileName, _LL::next, and pHead.
Referenced by GrxHost().
| unsigned long SetRexxVar | ( | char * | pszVar, |
| char * | pValue, | ||
| size_t | ulLen | ||
| ) |
Definition at line 216 of file unix/hostemu.cpp.
References RexxVariablePool(), RXSHV_NEWV, RXSHV_OK, RXSHV_SYSET, _SHVBLOCK::shvcode, _SHVBLOCK::shvname, _SHVBLOCK::shvnamelen, _SHVBLOCK::shvnext, _SHVBLOCK::shvret, _SHVBLOCK::shvvalue, _SHVBLOCK::shvvaluelen, _RXSTRING::strlength, and _RXSTRING::strptr.
Referenced by ExecIO_Read_To_Stem().
| EXECIO_OPTIONS ExecIO_Options |
Definition at line 64 of file unix/hostemu.cpp.
Referenced by ExecIO_Read_To_Queue(), ExecIO_Read_To_Stem(), ExecIO_Write_From_Queue(), ExecIO_Write_From_Stem(), GrxHost(), and yyparse().
|
static |
Definition at line 94 of file unix/hostemu.cpp.
Referenced by GrxHost().
| RexxPackageEntry hostemu_package_entry |
Definition at line 941 of file unix/hostemu.cpp.
| long lCmdPtr |
Definition at line 65 of file unix/hostemu.cpp.
| long lStmtType |
Definition at line 69 of file unix/hostemu.cpp.
|
static |
Definition at line 95 of file unix/hostemu.cpp.
Referenced by Delete_LL(), hostemu_unloader(), Insert_LL(), and Search_LL().
| PCONSTRXSTRING prxCmd = NULL |
Definition at line 63 of file unix/hostemu.cpp.
| char* pszSymbol[SYMTABLESIZE] |
Definition at line 67 of file unix/hostemu.cpp.
|
static |
Definition at line 96 of file unix/hostemu.cpp.
Referenced by Delete_LL(), Insert_LL(), and WSRegistryValue().
| char szInline[100000] |
Definition at line 68 of file unix/hostemu.cpp.
Referenced by ExecIO_Read_To_Queue(), and ExecIO_Read_To_Stem().
| unsigned long ulNumSym |
Definition at line 66 of file unix/hostemu.cpp.