unix/rxqueue.cpp File Reference
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "rexx.h"
#include "RexxMessageNumbers.h"
Include dependency graph for unix/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 MSG_BUF_SIZE   256 /* Error message buffer size */
 
#define LINEBUFSIZE   65472 /* Arbitrary but matches current docs */
 
#define REXXMESSAGEFILE   "rexx.cat"
 
#define CATD_ERR   -1
 

Functions

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

Variables

char line [LINEBUFSIZE]
 
char work [256]
 
int queuemode =-1
 

Macro Definition Documentation

◆ BAD_MESSAGE

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

Definition at line 71 of file unix/rxqueue.cpp.

◆ CATD_ERR

#define CATD_ERR   -1

Definition at line 78 of file unix/rxqueue.cpp.

◆ LINEBUFSIZE

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

Definition at line 74 of file unix/rxqueue.cpp.

◆ MSG_BUF_SIZE

#define MSG_BUF_SIZE   256 /* Error message buffer size */

Definition at line 73 of file unix/rxqueue.cpp.

◆ REXXMESSAGEFILE

#define REXXMESSAGEFILE   "rexx.cat"

Definition at line 76 of file unix/rxqueue.cpp.

◆ RXQUEUE_CLEAR

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

Definition at line 70 of file unix/rxqueue.cpp.

Function Documentation

◆ get_line()

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

Definition at line 385 of file unix/rxqueue.cpp.

Referenced by main().

◆ main()

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

◆ options_error()

Variable Documentation

◆ line

◆ queuemode

int queuemode =-1

Definition at line 83 of file unix/rxqueue.cpp.

Referenced by main().

◆ work