rexxapi2.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include <rexx.h>
Include dependency graph for rexxapi2.c:

Go to the source code of this file.

Macros

#define INVALID_ROUTINE   40 /* Raise Rexx error */
 
#define VALID_ROUTINE   0 /* Successful completion */
 

Functions

LONG REXXENTRY ApiLoadFuncs (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_Fill_REXX_Variable_Pool (PSZ name, LONG numargs, RXSTRING args[], PSZ queuename, PRXSTRING retstr)
 

Variables

static PSZ ApiFncTable []
 

Macro Definition Documentation

◆ INVALID_ROUTINE

#define INVALID_ROUTINE   40 /* Raise Rexx error */

Definition at line 50 of file rexxapi2.c.

◆ VALID_ROUTINE

#define VALID_ROUTINE   0 /* Successful completion */

Definition at line 51 of file rexxapi2.c.

Function Documentation

◆ Api_Fill_REXX_Variable_Pool()

◆ ApiDeregFunc()

LONG REXXENTRY ApiDeregFunc ( PSZ  name,
LONG  numargs,
RXSTRING  args[],
PSZ  queuename,
PRXSTRING  retstr 
)

◆ ApiLoadFuncs()

LONG REXXENTRY ApiLoadFuncs ( PSZ  name,
LONG  numargs,
RXSTRING  args[],
PSZ  queuename,
PRXSTRING  retstr 
)

Definition at line 77 of file rexxapi2.c.

References ApiFncTable, RexxRegisterFunctionDll(), and VALID_ROUTINE.

Variable Documentation

◆ ApiFncTable

PSZ ApiFncTable[]
static
Initial value:
=
{
"Api_Exchange_Data",
"ApiDeregFunc",
"Api_Fill_REXX_Variable_Pool"
}

Definition at line 59 of file rexxapi2.c.

Referenced by ApiDeregFunc(), and ApiLoadFuncs().