| Line |   | 
|---|
| 1 | /* | 
|---|
| 2 |  * Copyright 1993, 2000 Christopher Seiwald. | 
|---|
| 3 |  * | 
|---|
| 4 |  * This file is part of Jam - see jam.c for Copyright information. | 
|---|
| 5 |  */ | 
|---|
| 6 |  | 
|---|
| 7 | /* | 
|---|
| 8 |  * variable.h - handle jam multi-element variables | 
|---|
| 9 |  */ | 
|---|
| 10 |  | 
|---|
| 11 | struct hash; | 
|---|
| 12 |  | 
|---|
| 13 | void    var_defines( char* const *e, int preprocess ); | 
|---|
| 14 | int     var_string( char *in, char *out, int outsize, LOL *lol ); | 
|---|
| 15 | LIST *  var_get( char *symbol ); | 
|---|
| 16 | void    var_set( char *symbol, LIST *value, int flag ); | 
|---|
| 17 | LIST *  var_swap( char *symbol, LIST *value ); | 
|---|
| 18 | void    var_done(); | 
|---|
| 19 | void    var_hash_swap( struct hash** ); | 
|---|
| 20 |  | 
|---|
| 21 | /* | 
|---|
| 22 |  * Defines for var_set(). | 
|---|
| 23 |  */ | 
|---|
| 24 |  | 
|---|
| 25 | # define VAR_SET        0       /* override previous value */ | 
|---|
| 26 | # define VAR_APPEND     1       /* append to previous value */ | 
|---|
| 27 | # define VAR_DEFAULT    2       /* set only if no previous value */ | 
|---|
| 28 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.