blob: c38625a6010bd2c58df4236d96197bd689026d11 (
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
27
|
#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 symbol *sym, struct expr *expr);
void cnf_printf(struct cnfexpr *);
struct boolexp *printf_original(struct symlist *sl, struct expr *expr);
#endif /* _CNFEXPR_H_ */
|