Révision 241
Ajouté par Damien REGENT il y a environ 3 ans
branch/Regent/sp4a12/main.c | ||
---|---|---|
void decode_trame(char * tr ...){
|
||
//Appel de ma_fonction() ;
|
||
}
|
||
|
||
int trame_cmp(char * trame, char * type)
|
||
{
|
||
int i;
|
||
int verif=1;
|
||
|
||
for(i=0;i<5;i++)
|
||
{
|
||
if(trame[i+1]!=type[i])//verifie que le debut de la trame correspond au caractere type
|
||
{
|
||
verif=0;
|
||
}
|
||
}
|
||
return verif;
|
||
}
|
||
|
||
//Fonction ? modifier !!!!!
|
||
void traitement(char * trame)
|
Formats disponibles : Unified diff
Implantation de la fonction trame_cmp()