|
|
@ -16,7 +16,12 @@ int estVide(FileAttente *file);// Retourne 1 ou 0 si vide
|
|
|
|
void enfiler(FileAttente *file, CandidatTraite candidat); // Enfile candidat dans file
|
|
|
|
void enfiler(FileAttente *file, CandidatTraite candidat); // Enfile candidat dans file
|
|
|
|
CandidatTraite defiler(FileAttente *file); // Defile candidat et le renvoie
|
|
|
|
CandidatTraite defiler(FileAttente *file); // Defile candidat et le renvoie
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FileAttente* lireCandidatsAttente(char* dept, char* ville); // Lis le fichier Dpt_Ville_Attente.don et retourne FileAttente* remplie
|
|
|
|
|
|
|
|
void ecrireCandidatsAttente(char* dept, char* ville, FileAttente* file);
|
|
|
|
|
|
|
|
|
|
|
|
int compareCandidatsTraite(const void* p1, const void* p2); // Pour utiliser le qsort
|
|
|
|
int compareCandidatsTraite(const void* p1, const void* p2); // Pour utiliser le qsort
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ajouterCandidatAdmis(char* dept, char* ville, CandidatTraite* candidat);
|
|
|
|
|
|
|
|
|
|
|
|
void afficherCandidatsAdmis(char* dept, char* ville);
|
|
|
|
void afficherCandidatsAdmis(char* dept, char* ville);
|
|
|
|
void afficherCandidatsAttente(FileAttente* file);
|
|
|
|
void afficherCandidatsAttente(FileAttente* file);
|