58 #define INVALID_ROUTINE 10
59 #define VALID_ROUTINE 0
73 "Aspi_Output_From_REXX",
93 const char * queuename,
102 for (j = 0; j < entries; j++)
125 const char * queuename,
139 for (j = 0; j < entries; j++)
162 const char * queuename,
168 strcpy(retstr->
strptr,
"Aspi_OutPut_From_C does not support any Arguments");
173 printf(
"This Output is generated and displayed by the C-function Aspi_Output_From_C\n");
193 const char * queuename,
198 strcpy(retstr->
strptr,
"Aspi_OutPut_From_REXX does not support any Arguments");
202 strcpy(retstr->
strptr,
"This Output is generated by the C-function Aspi_Output_From_REXX and displayed by REXX");
224 const char * queuename,
235 strcpy(retstr->
strptr,
"Aspi_Exchange_Data function expects 3 arguments");
240 strcpy(retstr->
strptr,
"\0");
245 parm1 = atoi(args[0].strptr);
246 parm2 = atoi(args[1].strptr);
247 strcpy(outbuf, args[2].strptr);
249 printf(
"Aspi_Exchange_Data function has received following arguments:\nArgument 1: %d\nArgument 2: %d\nArgument 3: %s\n",
250 parm1, parm2, outbuf);
RexxReturnCode REXXENTRY RexxDeregisterFunction(CONSTANT_STRING)
RexxReturnCode REXXENTRY RexxRegisterFunctionDll(CONSTANT_STRING, CONSTANT_STRING, CONSTANT_STRING)
RexxReturnCode REXXENTRY Aspi_Output_From_C(const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
RexxReturnCode REXXENTRY Aspi_Output_From_REXX(const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
RexxReturnCode REXXENTRY AspiLoadFuncs(const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
static const char * AspiFncTable[]
RexxReturnCode REXXENTRY AspiDeregFunc(const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
RexxReturnCode REXXENTRY Aspi_Exchange_Data(const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)