/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2003-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* jcl interface definitions
*/
#ifndef _JCLLIB_H
#include <ast.h>
#include <dt.h>
{
};
{
};
struct Include_s
{
long line;
char* file;
};
struct Rc_s
{
int rc;
};
struct Redirect_s
{
const char* file;
int fd;
};
struct Ie_s
{
int flags;
int line;
};
#define _JCL_PUSH_ \
char* data; \
char* peek; \
char* peekpeek; \
char* last;
typedef struct Push_s
{
} Push_t;
#define _JCL_PRIVATE_ \
Include_t* include; \
char* file; \
char* ofile; \
int oline; \
char* card; \
char* peekcard; \
char* record; \
char* end; \
int pushed; \
int abend; \
int rc; \
int eof; \
int canon; \
#define _JCLDD_PRIVATE_ \
int space; \
#include "jcl.h"
#include <ctype.h>
#include <debug.h>
extern int suflen(const char*);
#endif