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

Go to the source code of this file.

Macros

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

Functions

RexxReturnCode REXXENTRY AspiLoadFuncs (const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
 
RexxReturnCode REXXENTRY AspiDeregFunc (const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
 
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 Aspi_Exchange_Data (const char *name, size_t numargs, CONSTRXSTRING args[], const char *queuename, PRXSTRING retstr)
 

Variables

static const char * AspiFncTable []
 

Macro Definition Documentation

◆ INVALID_ROUTINE

#define INVALID_ROUTINE   10 /* Raise Rexx error */

Definition at line 58 of file rexxasp1.c.

◆ VALID_ROUTINE

#define VALID_ROUTINE   0 /* Successful completion */

Definition at line 59 of file rexxasp1.c.

Function Documentation

◆ Aspi_Exchange_Data()

RexxReturnCode REXXENTRY Aspi_Exchange_Data ( const char *  name,
size_t  numargs,
CONSTRXSTRING  args[],
const char *  queuename,
PRXSTRING  retstr 
)

Definition at line 220 of file rexxasp1.c.

References _RXSTRING::strlength, _RXSTRING::strptr, and VALID_ROUTINE.

◆ Aspi_Output_From_C()

RexxReturnCode REXXENTRY Aspi_Output_From_C ( const char *  name,
size_t  numargs,
CONSTRXSTRING  args[],
const char *  queuename,
PRXSTRING  retstr 
)

Definition at line 158 of file rexxasp1.c.

References _RXSTRING::strlength, _RXSTRING::strptr, and VALID_ROUTINE.

◆ Aspi_Output_From_REXX()

RexxReturnCode REXXENTRY Aspi_Output_From_REXX ( const char *  name,
size_t  numargs,
CONSTRXSTRING  args[],
const char *  queuename,
PRXSTRING  retstr 
)

Definition at line 189 of file rexxasp1.c.

References _RXSTRING::strlength, _RXSTRING::strptr, and VALID_ROUTINE.

◆ AspiDeregFunc()

RexxReturnCode REXXENTRY AspiDeregFunc ( const char *  name,
size_t  numargs,
CONSTRXSTRING  args[],
const char *  queuename,
PRXSTRING  retstr 
)

◆ AspiLoadFuncs()

RexxReturnCode REXXENTRY AspiLoadFuncs ( const char *  name,
size_t  numargs,
CONSTRXSTRING  args[],
const char *  queuename,
PRXSTRING  retstr 
)

Definition at line 89 of file rexxasp1.c.

References AspiFncTable, RexxRegisterFunctionDll(), and VALID_ROUTINE.

Variable Documentation

◆ AspiFncTable

const char* AspiFncTable[]
static
Initial value:
=
{
"Aspi_Output_From_C",
"Aspi_Output_From_REXX",
"Aspi_Exchange_Data",
"AspiDeregFunc"
}

Definition at line 70 of file rexxasp1.c.

Referenced by AspiDeregFunc(), and AspiLoadFuncs().