aboutsummaryrefslogtreecommitdiff
path: root/scripts/parse_kconfig/output.h
blob: fb3a7cf438d172d656a283aebba071a7aa933e14 (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
#include <stdlib.h>
#include <stdio.h>

#include <build_files.h>

#ifndef _OUTPUT_H_
#define _OUTPUT_H_

#include "symlist.h"

int output_init(char *rules_file, char *symbolmap_file);
void output_finish(void);

// Functions for symbol_map
void output_push_symbol(unsigned id, char *name);

// Functions for rules
void output_rules_symbol(int id);
void output_rules_endterm(void);

// Functions for variable_count
void output_write_variable_count(char *var_file, int count,
                                 unsigned lastoption);

#endif /* _OUTPUT_H_ */