diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-14 06:11:21 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-14 06:11:21 +0100 |
| commit | 339b4a488d445fd355d8c6d848d12ba2587e9fc2 (patch) | |
| tree | d349fdd8f726ce8e0cfcd8709ddc3e2f9fb4b14c /src/pnoc.h | |
| parent | f17b691fb70ec73b9413e91d881b9dcb3ffdfa2c (diff) | |
pnoc_sort() implemented.
Diffstat (limited to 'src/pnoc.h')
| -rw-r--r-- | src/pnoc.h | 15 |
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 |
