mise en place des fichiers

This commit is contained in:
hugogogo
2021-06-11 19:32:36 +02:00
parent 64363aeb18
commit 9ddf8ab304
11 changed files with 94 additions and 37 deletions

View File

@@ -9,20 +9,36 @@
typedef struct s_stack
{
int n;
struct s_list *next;
struct s_stack *next;
} t_stack;
void ps_error(int i);
void ps_clean(t_stack *stack, int i);
/*
** pushswap.c
*/
void is_valid(int ac, char **av)
t_stack *init_stack(int ac, char **av)
void print_stack(t_stack *stack)
/*
** stop.c
*/
void ps_usage(void);
void ps_error(int err);
void stop(t_stack *stb, t_stack *sta, t_list *lst, int i);
/*
** algo.c
*/
t_list *sort_algo(t_stack *stack);
/*
** swap
*/
/*
int swap(t_list **list);
int sa();
int sb();
int ss();
void sa();
void sb();
void ss();
*/
/*