00001 //############################################################################# 00011 //############################################################################# 00012 00013 00014 #ifndef _FIFO_H_ 00015 #define _FIFO_H_ 00016 00017 #include <NodeDef.h> 00018 00019 typedef struct{ 00020 int Tab_prio_noeuds[8]; 00021 int debut; 00022 int fin; 00023 }FILE1; 00024 00025 extern FILE1 Tab_Prio_Noeuds; 00026 00027 /*****************************************************/ 00028 /*prototypes functions*/ 00029 /*****************************************************/ 00030 int defiler( FILE1* , int* ); 00031 int enfiler( int valeur, FILE1* file ); 00032 int fileVide( const FILE1* file ); 00033 int filePleine( const FILE1* file ); 00034 int initialiserFile( FILE1* file ); 00035 00036 #endif