wip menu
This commit is contained in:
11
rooster.h
11
rooster.h
@@ -18,10 +18,11 @@ struct rooster_data;
|
||||
typedef struct rooster_data rooster;
|
||||
|
||||
typedef enum {
|
||||
BEGIN,
|
||||
AAN_HET_SPELEN,
|
||||
GEWONNEN,
|
||||
VERLOREN
|
||||
STATE_BEGIN,
|
||||
STATE_AAN_HET_SPELEN,
|
||||
STATE_GEWONNEN,
|
||||
STATE_VERLOREN,
|
||||
STATE_QUIT
|
||||
} toestand;
|
||||
|
||||
/* Maak een rooster op basis van de data in de gegeven stream.
|
||||
@@ -53,7 +54,7 @@ rooster *rooster_lees(FILE *fh);
|
||||
* NULL teruggegeven. (In dat geval blijft geen gereserveerd geheugen
|
||||
* achter.)
|
||||
*/
|
||||
rooster *rooster_maak(char* input);
|
||||
rooster *rooster_maak(const char* input);
|
||||
|
||||
/*
|
||||
* Haal een rij uit het rooster op.
|
||||
|
||||
Reference in New Issue
Block a user