/***********************************************************************
* *
* 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
/*
* dss misc support
*/
#include "dsshdr.h"
/*
* compile an expression
* input is from string s or stream sp if s==0
*/
{
char* file;
void* pop;
if (!sp && s && *s == '<')
{
while (isspace(*++s));
{
return 0;
}
file = (char*)s;
s = 0;
}
else
file = 0;
return 0;
return expr;
}
/*
* called once before the first dsseval(expr)
*/
int
{
}
/*
* evaluate expr
*/
int
{
return -1;
}
/*
* called once after the last dsseval(expr)
* there can be multiple dssbeg ... dsseval ... dssend sequences
*/
int
{
}
/*
* list expr
*/
int
{
}
/*
* free expr
*/
int
{
}
/*
* return variable value in value
* type!=0 casts to type, variable->type by default
* details!=0 is optional type format details
*/
int
dssget(Dssrecord_t* record, Dssvariable_t* variable, Dsstype_t* type, const char* details, Dssvalue_t* value)
{
return -1;
return 0;
}
/*
* return type pointer given name
*/
{
}
/*
* return variable pointer given name
*/
{
}