TP 13 exo1: create an array in the main()
[TD_C.git] / TP_13 / exo1 / lib / array.h
CommitLineData
fac749d5
JB
1#ifndef ARRAY_H
2#define ARRAY_H
3
884e9557
JB
4#include "sort.h"
5
e4001676
JB
6int create_tab(int tab[], unsigned tab_size);
7void free_tab(int tab[]);
8int concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
9int resize_tab(int tab[], unsigned tab_size);
10int count_tab_element(int tab[], unsigned tab_size, int element);
11void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);
33b9c646 12
fac749d5 13#endif /* ARRAY_H */