summaryrefslogtreecommitdiff
path: root/src/pnoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pnoc.h')
-rw-r--r--src/pnoc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pnoc.h b/src/pnoc.h
new file mode 100644
index 0000000..bfff947
--- /dev/null
+++ b/src/pnoc.h
@@ -0,0 +1,15 @@
+#ifndef OXEN_PNOC_H
+#define OXEN_PNOC_H
+
+#include "player.h"
+#include "card.h"
+
+typedef struct
+{
+ char player_name[MAX_PLAYER_NAME_LENGTH+1]; // Player name length + 1 for string termination
+ card open_card;
+} pnoc_t;
+
+void pnoc_sort(pnoc_t pnoc[], const uint8_t num_tuples);
+
+#endif // OXEN_PNOC_H