51 #define INVALID_ROUTINE 40
52 #define VALID_ROUTINE 0
63 "Api_Output_From_REXX",
92 for (j = 0; j < entries; j++)
129 for (j = 0; j < entries; j++)
159 strcpy(retstr->
strptr,
"Api_OutPut_From_C does not support any arguments");
164 printf(
"This output was generated and displayed by the C-function Api_Output_From_C\n");
189 strcpy(retstr->
strptr,
"Api_OutPut_From_REXX does not support any arguments");
194 strcpy(retstr->
strptr,
"This output was returned from the C-function Api_Output_From_REXX and is displayed by REXX");
226 strcpy(retstr->
strptr,
"Api_Exchange_Data function expects 3 arguments");
231 strcpy(retstr->
strptr,
"\0");
236 parm1 = atoi(args[0].strptr);
237 parm2 = atoi(args[1].strptr);
238 strcpy(outbuf, args[2].strptr);
240 printf(
"Api_Exchange_Data function has received the following arguments: Argument 1: %d, Argument 2: %d, Argument 3 %s\n",
241 parm1, parm2, outbuf);
RexxReturnCode REXXENTRY RexxDeregisterFunction(CONSTANT_STRING)
RexxReturnCode REXXENTRY RexxRegisterFunctionDll(CONSTANT_STRING, CONSTANT_STRING, CONSTANT_STRING)
LONG REXXENTRY ApiLoadFuncs(PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)
LONG REXXENTRY Api_Exchange_Data(PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)
LONG REXXENTRY ApiDeregFunc(PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)
LONG REXXENTRY Api_Output_From_REXX(PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)
LONG REXXENTRY Api_Output_From_C(PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)