Files
T2-start-2025/C/t-oer-prc2-cbdb-main/Assignments/AnimalShelter/shared/animal.h
Rens Pastoor 11b391b8a1 sync
2025-05-27 22:41:46 +02:00

38 lines
403 B
C

#ifndef ANIMAL_H
#define ANIMAL_H
typedef enum
{
Cat,
Dog,
GuineaPig,
Parrot
} Species;
typedef enum
{
Male,
Female
} Sex;
typedef struct
{
int Day;
int Month;
int Year;
} Date;
#define MaxNameLength 25
#define MaxLocationLength 100
typedef struct
{
int Id;
Species Species;
Sex Sex;
int Age;
Date DateFound;
} Animal;
#endif