aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2020-06-21 23:01:57 +0200
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2020-06-21 23:01:57 +0200
commit0e8d73bb3edcc8bdff6e3ded442b66f68265059a (patch)
tree4f92deb9ace97e79332c0e7ce390b76b81aeaae9 /src/io.h
parent4e359b44ce111b04cc4d2b28033fba4ab4e6e989 (diff)
downloadnissy-0e8d73bb3edcc8bdff6e3ded442b66f68265059a.tar.gz
nissy-0e8d73bb3edcc8bdff6e3ded442b66f68265059a.zip
First push
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..f1b585d
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,21 @@
1#include <stdint.h>
2
3char *edge_string(int edge);
4char *corner_string(int edge);
5char *move_string(int move);
6
7void print_cube_scram(int *scram);
8
9void copy_moves(int *src, int *dst);
10void append_moves(int *src, int *dst);
11
12int read_moves(char *str, int *a);
13int read_moves_from_prompt(int *a);
14int read_moves_from_tok(int n, char tok[][100], int *a);
15
16int uses_niss(int *str);
17int unniss(int *src, int *dst);
18int invert(int *src, int *dst);
19int len(int *scram);
20
21void print_moves(int move_list[]);

Generated with cgit - Back to sebastiano.tronto.net