diff options
Diffstat (limited to '')
| -rw-r--r-- | src/io.h | 21 |
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 | |||
| 3 | char *edge_string(int edge); | ||
| 4 | char *corner_string(int edge); | ||
| 5 | char *move_string(int move); | ||
| 6 | |||
| 7 | void print_cube_scram(int *scram); | ||
| 8 | |||
| 9 | void copy_moves(int *src, int *dst); | ||
| 10 | void append_moves(int *src, int *dst); | ||
| 11 | |||
| 12 | int read_moves(char *str, int *a); | ||
| 13 | int read_moves_from_prompt(int *a); | ||
| 14 | int read_moves_from_tok(int n, char tok[][100], int *a); | ||
| 15 | |||
| 16 | int uses_niss(int *str); | ||
| 17 | int unniss(int *src, int *dst); | ||
| 18 | int invert(int *src, int *dst); | ||
| 19 | int len(int *scram); | ||
| 20 | |||
| 21 | void print_moves(int move_list[]); | ||
