changed all "kjam" to "k8jam"
[k8jam.git] / variable.h
blob7a6807bc8ba85b97d24584f6b7adf4cacdb8ca53
1 /*
2 * Copyright 1993, 2000 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
7 /*
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);
18 void var_done (void);
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 */