aboutsummaryrefslogtreecommitdiff
path: root/scripts/permute/permutelist.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-07 13:31:09 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-07 13:31:09 +0200
commit62d21b8b34727434cc6340caf47fe7e34636d507 (patch)
tree2f71722ee29970be7f2b80b6f8468561fba4074d /scripts/permute/permutelist.h
parent96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf (diff)
downloadlinux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.tar.gz
linux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.tar.bz2
linux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.zip
Rename setpermute to permute
Diffstat (limited to 'scripts/permute/permutelist.h')
-rw-r--r--scripts/permute/permutelist.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/permute/permutelist.h b/scripts/permute/permutelist.h
new file mode 100644
index 0000000..725f6d6
--- /dev/null
+++ b/scripts/permute/permutelist.h
@@ -0,0 +1,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_ */