DOKK / manpages / debian 10 / alliance / getablexprsupport.3.en
GETABLEXPRSUPPORT(3) ABL FUNCTIONS GETABLEXPRSUPPORT(3)

getablexprsupport - gives the expression's support.

See the file buster/alliance/alc_origin.1.en.gz.

#include "abl101.h"

void ∗getablexprsupport( Expr, Mode )
chain_list ∗Expr;
int Mode;

Expression.
The returned support's mode.

getablexprsupport gives the support of Expr. if Mode is ABL_SUPPORT_CHAIN the support is returned using chain_list else it is returned using ptype_list. The support must be freed using the freechain or freeptype functions.

getablexprsupport returns a pointer to a chain_list or a ptype_list.

#include "abl101.h"

chain_list ∗Expr;
ptype_list ∗Support;
ptype_list ∗ScanSupport;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
Support = getablexprsupport( Expr, ABL_SUPPORT_PTYPE );
/* displays a b */
for ( ScanSupport = Support;
ScanSupport != (ptype_list ∗)0;
ScanSupport = ScanSupport->NEXT )
{
printf( "%s ", (char *)ScanSupport->DATA );
}
freeptype( Support );

abl(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6