diff --git a/arbre.h b/arbre.h index 75e70a6..15fa753 100644 --- a/arbre.h +++ b/arbre.h @@ -19,8 +19,7 @@ typedef struct dico { int calculcase(char c); -bool est_vide(struct arbre *arbre); - +bool mot_existe(struct arbre *monarbre,char *mot,int i); void ini_dico(struct dico *pt_dico); @@ -28,7 +27,7 @@ void creation_arbre(Arbre **ppt_arbre,char c); void ajout_mot(struct arbre **arbrecourant,char *mot,int i); -void charger_arbre(FILE *fp, struct dico **ppt_dico); +void charger_dico(FILE *fp, struct dico **ppt_dico); void free_arbre(struct arbre *pt_arbre); @@ -39,5 +38,6 @@ void affiche_arbre(struct arbre *arbre); void affiche_dico(struct dico *dico); +void analyse_fichier(FILE *fp,Dico *pt_dico, int *nb_t, int *nb_f); -- libgit2 0.21.2