blob: 8bc61c168627fedd9abd655b14145fc52d24f972 (
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
|
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <kconfig/lkc.h>
#ifndef _SYMLIST_H_
#define _SYMLIST_H_
struct symlist_el {
unsigned int id;
struct symbol *sym;
};
struct symlist {
struct symlist_el *array;
size_t size;
unsigned maxid;
};
struct symlist *symlist_read(FILE *f);
struct symbol *symlist_get(struct symlist *, unsigned int id);
#endif /* _SYMLIST_H_ */
|