diff --git a/src/I/un.h b/src/I/un.h index 759a342..519ff52 100644 --- a/src/I/un.h +++ b/src/I/un.h @@ -25,9 +25,9 @@ typedef struct { void titreMenuPrincipal(void); -void menuCandidat(void); -void menuAdmin(void); -void menuResponsable(void); +void menuCandidat(VilleIUT** tiut, int* nbVilles); +void menuAdmin(VilleIUT** tiut, int* nbVilles); +void menuResponsable(VilleIUT** tiut, int* nbVilles); void menuPrincipal(void); VilleIUT* creerVille(void); @@ -35,11 +35,13 @@ VilleIUT** ajouterVille(VilleIUT** tiut, VilleIUT* ville, int* nbVilles); void afficherListeVilles(VilleIUT** tiut, int nbVilles); ListeDept creerListeDepartement(void); -void afficherListeDepartement(VilleIUT ville); +void afficherListeDepartement(VilleIUT** tiut, int nbVilles, char* searchIUT); +void afficherDepartement(VilleIUT** tiut, int nbVilles, char* searchDept); MaillonDept* creerDepartement(char* departement, int nbP, char* responsable); ListeDept ajouterDepartement(ListeDept ldept, MaillonDept* dept); ListeDept supprimerDepartement(ListeDept ldept, char* searchDept); void modifierNbPlaces(VilleIUT** tiut, int nbVilles, char* searchIUT, char* searchDept, int nb); +void modifierNomResponsable(VilleIUT** tiut, int nbVilles, char* searchIUT, char* searchDept, char* nom); void saveVilles(VilleIUT* tiut[], int nbVilles); VilleIUT** readVilles(int* nbVilles);