aboutsummaryrefslogtreecommitdiff
path: root/scripts/permute/menudata.h
blob: 5b3c46b8dea000e826dfef5e5d9b8bd0c8326d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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_cal(struct menu *m);

#endif /* _MENUDATA_H_ */