blob: 04733684bcddc0dad08976f39cf0e1883e5b376c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef _CNFEXPR_H_
#define _CNFEXPR_H_
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include "symlist.h"
#include "kconfig/lkc.h"
enum cnfexpr_type {
CT_EXPR, CT_FALSE, CT_TRUE
};
struct cnfexpr {
enum cnfexpr_type type;
int **exprs;
unsigned *sizes;
unsigned size;
};
struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, bool nt, struct expr *expr);
void cnf_printf(struct cnfexpr *);
struct boolexp *printf_original(struct symlist *sl, struct expr *expr);
#endif /* _CNFEXPR_H_ */
|