aboutsummaryrefslogtreecommitdiff
path: root/scripts/permute/menudata.h
blob: a2738914d19c5e15576eaa2d7b20980d819303a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>

#include <kconfig/lkc.h>

#ifndef _MENUDATA_H_
#define _MENUDATA_H_

struct menudata {
    bool permute;
    bool subpermute;
};

struct menudata *menudata_new(void);
void menudata_set_permute(struct menu *m, bool perm);
void menudata_set_all_permute(struct menu *m, bool perm);
void menudata_cal(struct menu *m);

#endif /* _MENUDATA_H_ */