aboutsummaryrefslogtreecommitdiff
path: root/scripts/write_config/solution.h
blob: 100a9fe418e316ccb7a4ccbd2ae5a42b2d9783dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <kconfig/lkc.h>
#include <build_files.h>
#include "symlist.h"

#ifndef _SOLUTION_H_
#define _SOLUTION_H_

#define BUFFER_SIZE 32

struct solution {
    int *sol;
    size_t size;
};

struct solution *solution_load(FILE *fmap, FILE *fsolved);
void solution_check(struct symlist *sl, struct solution *s);

#endif /* _SOLUTION_H_ */