|
|
@ -32,7 +32,7 @@ void decalageADroite(int tab[], int index, int tlog);
|
|
|
|
void decalageAGauche(int tab[], int index, int tlog);
|
|
|
|
void decalageAGauche(int tab[], int index, int tlog);
|
|
|
|
|
|
|
|
|
|
|
|
//! GESTION CLIENTS
|
|
|
|
//! GESTION CLIENTS
|
|
|
|
int inputClient(int id, int passwd, int index, int clientID[], int clientPassword[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
void inputClient(int id, int passwd, int index, int clientID[], int clientPassword[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
void modifyClient(int clientID[], float cagnotte[], int suspended[], int isAdmin[], int tlog);
|
|
|
|
void modifyClient(int clientID[], float cagnotte[], int suspended[], int isAdmin[], int tlog);
|
|
|
|
void deleteClient(int clientID[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
void deleteClient(int clientID[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
|
|
|
|
|
|
|
@ -58,12 +58,12 @@ void basket_del_article(int basket_tab_ref[], int basket_tab_qte[], int *tlog_ba
|
|
|
|
|
|
|
|
|
|
|
|
//! LOGIN
|
|
|
|
//! LOGIN
|
|
|
|
int login(int clientID[], int clientPassword[], int isAdmin[], int tlog);
|
|
|
|
int login(int clientID[], int clientPassword[], int isAdmin[], int tlog);
|
|
|
|
int signup(int clientID[], int clientPassword[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
void signup(int clientID[], int clientPassword[], float cagnotte[], int suspended[], int isAdmin[], int *tlog);
|
|
|
|
|
|
|
|
|
|
|
|
//! MOT DE PASSE
|
|
|
|
//! MOT DE PASSE
|
|
|
|
int encrypt(int password);
|
|
|
|
int encrypt(int password);
|
|
|
|
int decrypt(int password);
|
|
|
|
int decrypt(int password);
|
|
|
|
|
|
|
|
|
|
|
|
//! MENUS
|
|
|
|
//! MENUS
|
|
|
|
void adminMenu(void);
|
|
|
|
void adminMenu(int clientID[], int clientPassword[], float cagnotte[], int suspended[], int isAdmin[], int tabReference[], float tabWeight[], float tabVolume[], float unitPrice[], int *tlogItem, int *tlogClient);
|
|
|
|
void clientMenu(float *weight, float *volume, float *price);
|
|
|
|
void clientMenu(float *weight, float *volume, float *price, int tabItemRef[], float unitPrice[], float *cagnotte, int basket_tab_ref[], int basket_tab_qte[], float tabWeight[], float tabVolume[], float tabPrice[], int tlogItem, int *tlogBasket);
|