/***********************************************************************
* *
* 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 _JCL_H
#include <ast.h>
#include <dt.h>
#include <error.h>
#include <vmalloc.h>
struct Jcldisc_s
{
};
struct Jclcat_s
{
char* path;
};
struct Jclout_s
{
};
struct Jclcond_s
{
char* step;
short code;
short op;
};
struct Jcldd_s
{
char* name;
char* path;
char* here;
char* card;
int lrecl;
int reference;
unsigned short flags;
unsigned char recfm;
#ifdef _JCLDD_PRIVATE_
#endif
};
struct Jcloutput_s
{
char* name;
char* parm;
#ifdef _JCLOUTPUT_PRIVATE_
#endif
};
struct Jcldir_s
{
};
struct Jclsym_s
{
char* value;
int flags;
};
struct Jclstep_s
{
char* name;
char* command;
char* parm;
unsigned long flags;
};
struct Jcl_s
{
char* id;
unsigned long flags;
unsigned long roflags;
unsigned long steps;
unsigned long passed;
unsigned long failed;
char* name;
char* tmp;
#ifdef _JCL_PRIVATE_
#endif
};
#define jclinit(d,e) (memset(d,0,sizeof(*(d))),(d)->version=JCL_VERSION,(d)->errorf=(Error_f)(e),(d)->date=(d)->odate=(d)->rdate=time(NiL))
extern char* jclparm(char**);
#endif