variable.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 1993, 2000 Christopher Seiwald.
00003  *
00004  * This file is part of Jam - see jam.c for Copyright information.
00005  */
00006 
00007 /*
00008  * variable.h - handle jam multi-element variables
00009  *
00010  * Changes:
00011  *
00012  * 11/04/02 (seiwald) - const-ing for string literals
00013  */
00014 
00015 void    var_defines( const char **e );
00016 int     var_string( const char *in, char *out, int outsize, LOL *lol );
00017 LIST *  var_get( const char *symbol );
00018 void    var_set( const char *symbol, LIST *value, int flag );
00019 LIST *  var_swap( const char *symbol, LIST *value );
00020 void    var_done();
00021 
00022 /*
00023  * Defines for var_set().
00024  */
00025 
00026 # define VAR_SET    0   /* override previous value */
00027 # define VAR_APPEND 1   /* append to previous value */
00028 # define VAR_DEFAULT    2   /* set only if no previous value */
00029 

Generated on Thu Aug 17 15:54:32 2006 for MaJam by  doxygen 1.4.7