X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=scripts%2Fconfig%2Fexpr.h;h=ae79d8fad1acdd9fbc8e47d146b31d6cf4930b1d;hb=9ed76c6c5c63f0923dc70dd7c7f99f9d1c648489;hp=fdeb1495f1b6f417449490ad787badd8a82dcc1e;hpb=cbc765de67bc4e947a61323fbcf9b0e01f66c606;p=openwrt.git diff --git a/scripts/config/expr.h b/scripts/config/expr.h index fdeb1495f1..ae79d8fad1 100644 --- a/scripts/config/expr.h +++ b/scripts/config/expr.h @@ -74,6 +74,7 @@ struct symbol { struct property *prop; struct expr *dep, *dep2; struct expr_value rev_dep; + struct expr_value rev_dep_inv; }; #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) @@ -94,14 +95,13 @@ struct symbol { #define SYMBOL_AUTO 0x1000 #define SYMBOL_CHECKED 0x2000 #define SYMBOL_WARNED 0x8000 -#define SYMBOL_RESET 0x10000 #define SYMBOL_MAXLENGTH 256 #define SYMBOL_HASHSIZE 257 #define SYMBOL_HASHMASK 0xff enum prop_type { - P_UNKNOWN, P_PROMPT, P_COMMENT, P_MENU, P_DEFAULT, P_CHOICE, P_SELECT, P_RANGE + P_UNKNOWN, P_PROMPT, P_COMMENT, P_MENU, P_DEFAULT, P_CHOICE, P_DESELECT, P_SELECT, P_RANGE, P_RESET }; struct property {