expr.h (c0e150acde52e4661675539bf5323309270f2e83) | expr.h (0c1822e6991a10da6dc391f0a2e2cf5fb2e31238) |
---|---|
1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#ifndef EXPR_H 7#define EXPR_H 8 --- 49 unchanged lines hidden (view full) --- 58 void *val; 59 tristate tri; 60}; 61 62enum symbol_type { 63 S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER 64}; 65 | 1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#ifndef EXPR_H 7#define EXPR_H 8 --- 49 unchanged lines hidden (view full) --- 58 void *val; 59 tristate tri; 60}; 61 62enum symbol_type { 63 S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER 64}; 65 |
66enum { 67 S_DEF_USER, /* main user value */ 68}; 69 |
|
66struct symbol { 67 struct symbol *next; 68 char *name; 69 char *help; 70 enum symbol_type type; | 70struct symbol { 71 struct symbol *next; 72 char *name; 73 char *help; 74 enum symbol_type type; |
71 struct symbol_value curr, user; | 75 struct symbol_value curr; 76 struct symbol_value def[4]; |
72 tristate visible; 73 int flags; 74 struct property *prop; 75 struct expr *dep, *dep2; 76 struct expr_value rev_dep; 77}; 78 79#define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) --- 112 unchanged lines hidden --- | 77 tristate visible; 78 int flags; 79 struct property *prop; 80 struct expr *dep, *dep2; 81 struct expr_value rev_dep; 82}; 83 84#define for_all_symbols(i, sym) for (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) --- 112 unchanged lines hidden --- |