aboutsummaryrefslogtreecommitdiff
path: root/scripts/setpermute/permutelist.h
blob: 725f6d6cd0c27d7779dd0ccc9686b8db9abe3144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <stdbool.h>
#include <kconfig/lkc.h>

#ifndef _PERMUTELIST_H_
#define _PERMUTELIST_H_

struct permutelist {
    struct menu *permute;
    size_t size, pos;
};

void permutelist_add(struct menu *m);
void permutelist_remove(struct menu *m);
bool permutelist_is_permute(struct menu *m);

#endif /* _PERMUTELIST_H_ */