TP_13 exo1: Fix a memleak on the prompt error handling case
[TD_C.git] / TP_13 / exo1 / lib / io.h
index 8b2fb6eafe94fd59a1a44b5739b762eb78c4ce6c..fd5c4842c37ba09c70e89be336294418732633ba 100644 (file)
@@ -2,7 +2,16 @@
 #define IO_H
 
 int prompt_value(const char* msg, int* result);
+int* prompt_array(int array[], unsigned* size);
+void handle_prompt_error(int errno, int* tab);
 
-void display_array(int* array, int size);
+void display_choice_menu();
+
+int* do_concat(int array[], unsigned* size);
+void do_sort(int array[], unsigned size);
+void do_count(int array[], unsigned size);
+void do_resize(int array[], unsigned* size);
+
+void display_array(int array[], unsigned size);
 
 #endif /* IO_H */