diff --git a/src/IV/quatre.h b/src/IV/quatre.h index 80096c8..250fd9b 100644 --- a/src/IV/quatre.h +++ b/src/IV/quatre.h @@ -9,4 +9,14 @@ void menuCandidat_suivreCandidature(ListeCandidats liste, int nbCandidats, Candidat* candidat); -void menuResponsable_traiterCandidatures(VilleIUT** tiut, int nbVilles, ListeCandidats liste, int nbCandidats); \ No newline at end of file +void menuResponsable_traiterCandidatures(VilleIUT** tiut, int nbVilles, ListeCandidats liste, int nbCandidats); + +FileAttente* creerFile(void); // Retourne address FileAttente malloc +int estVide(FileAttente *file);// Retourne 1 ou 0 si vide +void enfiler(FileAttente *file, CandidatTraite candidat); // Enfile candidat dans file +CandidatTraite defiler(FileAttente *file); // Defile candidat et le renvoie + +int compareCandidatsTraite(const void* p1, const void* p2); // Pour utiliser le qsort + +void afficherCandidatsAdmis(char* dept, char* ville); +void afficherCandidatsAttente(FileAttente* file); \ No newline at end of file