windows/rxqueue.cpp File Reference
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <string.h>
#include "rexx.h"
#include "RexxErrorCodes.h"
Include dependency graph for windows/rxqueue.cpp:

Go to the source code of this file.

Macros

#define RXQUEUE_CLEAR   -2 /* used for queue mode CLEAR flag */
 
#define BAD_MESSAGE   -6 /* Exit RC for message not found. */
 
#define ENVBUFSIZE   256
 
#define LINEBUFSIZE   65472 /* Arbitrary but matches current docs */
 
#define DLLNAME   "rexx.dll"
 

Functions

static void options_error (int type, const char *queuename)
 
static bool get_line (char *, size_t, size_t *)
 
int __cdecl main (int argc, char *argv[])
 

Variables

char line [LINEBUFSIZE]
 
char work [256]
 

Macro Definition Documentation

◆ BAD_MESSAGE

#define BAD_MESSAGE   -6 /* Exit RC for message not found. */

Definition at line 60 of file windows/rxqueue.cpp.

◆ DLLNAME

#define DLLNAME   "rexx.dll"

Definition at line 65 of file windows/rxqueue.cpp.

◆ ENVBUFSIZE

#define ENVBUFSIZE   256

Definition at line 62 of file windows/rxqueue.cpp.

◆ LINEBUFSIZE

#define LINEBUFSIZE   65472 /* Arbitrary but matches current docs */

Definition at line 63 of file windows/rxqueue.cpp.

◆ RXQUEUE_CLEAR

#define RXQUEUE_CLEAR   -2 /* used for queue mode CLEAR flag */

Definition at line 59 of file windows/rxqueue.cpp.

Function Documentation

◆ get_line()

static bool get_line ( char *  buffer,
size_t  bufsize,
size_t *  linelen 
)
static

Definition at line 332 of file windows/rxqueue.cpp.

Referenced by main().

◆ main()

int __cdecl main ( int  argc,
char *  argv[] 
)

◆ options_error()

static void options_error ( int  type,
const char *  queuename 
)
static

Variable Documentation

◆ line

char line[LINEBUFSIZE]

Definition at line 67 of file windows/rxqueue.cpp.

Referenced by main().

◆ work

char work[256]

Definition at line 68 of file windows/rxqueue.cpp.

Referenced by main().