forked from vlachoudis/brexx
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from mainframed/master
reverting /inc and /src back to original states
- Loading branch information
Showing
166 changed files
with
10,411 additions
and
25,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef ADDRLINK_H | ||
#define ADDRLINK_H | ||
|
||
#include "lstring.h" | ||
|
||
#define MAX_ARGS 16 | ||
|
||
typedef struct trx_link_params_r15 { | ||
void* moduleName; | ||
void* dcbAddress; | ||
} RX_LINK_PARAMS_R15, *RX_LINK_PARAMS_R15_PTR; | ||
|
||
typedef struct trx_link_params_r1 { | ||
void* ptr[MAX_ARGS]; | ||
} RX_LINK_PARAMS_R1, *RX_LINK_PARAMS_R1_PTR; | ||
|
||
int handleLinkCommands(PLstr cmd, PLstr env); | ||
|
||
#endif //ADDRLINK_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef EXTERNAL_H | ||
#define EXTERNAL_H | ||
#include "lstring.h" | ||
|
||
#define MAX_ARGS 15 | ||
#define EVALBLOCK_HEADER_LENGTH 16 | ||
#define EVALBLOCK_DATA_LENGTH 4096 | ||
|
||
typedef struct trx_ext_params_r15 { | ||
void* moduleName; | ||
void* dcbAddress; | ||
} RX_EXT_PARAMS_R15, *RX_EXT_PARAMS_R15_PTR; | ||
|
||
typedef struct trx_ext_params_r1 { | ||
void* ptr[1]; | ||
} RX_EXT_PARAMS_R1, *RX_EXT_PARAMS_R1_PTR; | ||
|
||
int callExternalFunction(char *functionName, char* arguments[MAX_ARGS], int numArguments, PLstr result); | ||
|
||
#endif //EXTERNAL_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#ifndef __HOSTENV_H | ||
#define __HOSTENV_H | ||
|
||
#include "rxmvsext.h" | ||
|
||
#define SPACE_LENGTH 1 | ||
#define CPPL_HEADER_LENGTH 4 | ||
#define MAX_ENV_LENGTH 8 | ||
#define MAX_CMD_LENGTH 256 | ||
#define MAX_CPPLBUF_DATA_LENGTH ( MAX_ENV_LENGTH + SPACE_LENGTH + MAX_CMD_LENGTH ) | ||
|
||
extern void ** entry_R13; | ||
|
||
typedef struct cpplbuf_t { | ||
word length; | ||
word offset; | ||
char data[MAX_CPPLBUF_DATA_LENGTH]; | ||
} cpplbuf; | ||
|
||
typedef struct dynrexx_ctx_t { | ||
PLstr code; | ||
} RX_DYNREXX_CTX, *RX_DYNREXX_CTX_PTR; | ||
|
||
// HOST ENVIRONMENTS | ||
int __MVS(PLstr cmd, char **tokens); | ||
int __TSO(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __ISPEXEC(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __FSS(char **tokens); | ||
int __LINK(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __LINKPGM(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __LINKMVS(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __DYNREXX(RX_HOSTENV_PARAMS_PTR pParms); | ||
int __COMMAND(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
int __CONSOLE(RX_ENVIRONMENT_BLK_PTR pEnvBlock, RX_HOSTENV_PARAMS_PTR pParms); | ||
|
||
// HELPER FUNCTIONS | ||
int tokenizeCmd(char *cmd, char **tokens); | ||
int findToken(char *cmd, char **tokens); | ||
|
||
#endif |
Oops, something went wrong.