/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2002-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
/*
* C expression library private definitions
*
* Glenn Fowler
* AT&T Research
*/
#ifndef _CX_PRIVATE_
struct Cxtable_s;
#define _CX_PRIVATE_ \
struct Cxinclude_s* include; \
Cxcallout_f getf; \
char* ccbuf; \
char* cvtbuf; \
int evaluating; \
int index; \
int jump; \
int scoped; \
int view; \
#define _CX_CONSTRAINT_PRIVATE_ \
#define _CX_EDIT_PRIVATE_ \
#define _CX_EXPR_PRIVATE_ \
char** files; \
struct Cxoperand_s* stack; \
unsigned int stacksize; \
int begun; \
int reclaim;
#define _CX_ITEM_PRIVATE_ \
#define _CX_QUERY_PRIVATE_ \
int head; \
#define _CX_STATE_PRIVATE_ \
Cxheader_t* header; \
unsigned int initialized; \
#include <ast.h>
#include <regex.h>
#include "cx.h"
#include <ctype.h>
#include <error.h>
struct Cxcompile_s
{
int balanced;
int collecting;
int paren;
int reclaim;
unsigned int level;
unsigned int depth;
unsigned int pp;
unsigned int stacksize;
};
struct Cxdone_s
{
void* data;
};
struct Cxinclude_s
{
char* base;
char* next;
char* last;
char* ofile;
int eof;
int final;
int head;
int interactive;
int newline;
int oline;
int prompt;
int retain;
};
typedef struct Cxtable_s
{
} Cxtable_t;
#endif