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/04/02 (seiwald) - const-ing for string literals
11 */
12
13void 	var_defines( const char **e );
14int 	var_string( const char *in, char *out, int outsize, LOL *lol );
15LIST * 	var_get( const char *symbol );
16void 	var_set( const char *symbol, LIST *value, int flag );
17LIST * 	var_swap( const char *symbol, LIST *value );
18void 	var_done();
19
20/*
21 * Defines for var_set().
22 */
23
24# define VAR_SET	0	/* override previous value */
25# define VAR_APPEND	1	/* append to previous value */
26# define VAR_DEFAULT	2	/* set only if no previous value */
27
28