From e2e0e3bbe5add87b49020761fc96b2de14b92134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Mon, 6 Nov 2023 18:37:19 +0100 Subject: [PATCH] Ajout des prototypes --- src/main.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.h b/src/main.h index 05794a6..07c99b8 100644 --- a/src/main.h +++ b/src/main.h @@ -5,7 +5,7 @@ #include #include -#include +#include // Fonction sleep // Constantes #define tmaxArticles 500 @@ -46,3 +46,6 @@ void display_basket(int basket_tab_ref[], int basket_qte[], float weight[], floa int reinit_basket(int tlog_basket); int basket_del_article( int basket_tab_ref[], int basket_tab_qte[], int tlog_basket); +//! LOGIN +int login(int clientID[], int isAdmin[], int tlog); +int signup(int clientID[], float cagnotte[], int suspended[], int isAdmin[], int *tlog); \ No newline at end of file