2 * Copyright 1993, 2000 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
8 * variable.h - handle jam multi-element variables
10 * 11/04/02 (seiwald) - const-ing for string literals
13 void var_defines (const char **e
);
14 int var_string (const char *in
, char *out
, int outsize
, LOL
*lol
);
15 LIST
*var_get (const char *symbol
);
16 void var_set (const char *symbol
, LIST
*value
, int flag
);
17 LIST
*var_swap (const char *symbol
, LIST
*value
);
21 * Defines for var_set().
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 */