diff options
Diffstat (limited to 'programs/src/kconfig_parser/boolexp.h')
-rw-r--r-- | programs/src/kconfig_parser/boolexp.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/programs/src/kconfig_parser/boolexp.h b/programs/src/kconfig_parser/boolexp.h deleted file mode 100644 index 7f3aed6..0000000 --- a/programs/src/kconfig_parser/boolexp.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _BOOLEXP_H_ -#define _BOOLEXP_H_ - -#include <stdlib.h> -#include <stdbool.h> -#include "symlist.h" -#include "kconfig/lkc.h" - -enum boolexp_type { - BE_OR, BE_AND, BE_NOT, BE_LEAF -}; - -struct boolexp; -union boolexp_data { - struct boolexp *be; - unsigned int id; -}; - -struct boolexp { - enum boolexp_type type; - union boolexp_data left, right; -}; - -/*struct cnfexpr { - int **exprs; - unsigned *sizes; - unsigned size; -};*/ - -struct cnfexpr *kconfig_dep(struct symlist *sl, struct expr *expr); -void cnfprint(struct cnfexpr *); - -struct boolexp *copy_kconfig_dep(struct symlist *sl, struct expr *expr); -struct boolexp *copy_kconfig_f_dep(struct symlist *sl, struct expr *expr); -struct boolexp *boolexp_cnf(struct boolexp *be); -void boolexp_print(struct boolexp *be); - -#endif /* _BOOLEXP_H_ */ |