GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GETABLEXPRSUPPORT (3)

NAME

getablexprsupport - gives the expression’s support.

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameters
Description
Return Value
Example
See Also

SYNOPSYS






#include "abl101.h"
 void *getablexprsupport( Expr, Mode )
  chain_list *Expr;
  int         Mode;


PARAMETERS

Expr Expression.
Mode The returned support’s mode.

DESCRIPTION

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.

RETURN VALUE

getablexprsupport returns a pointer to a chain_list or a ptype_list.

EXAMPLE






#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 );


SEE ALSO

abl(1)

[Include document man1/alc_bug_report.1]

Search for    or go to Top of page |  Section 3 |  Main Index


ASIM/LIP6 GETABLEXPRSUPPORT (3) October 1, 1997

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.