my_rpg documentation
1.0.0
Loading...
Searching...
No Matches
mylist.h
1
/*
2
** EPITECH PROJECT, 2023
3
** my list
4
** File description:
5
** struct of linked list
6
*/
7
8
#ifndef MYLIST_H
9
#define MYLIST_H
10
typedef
struct
linked_list
{
11
void
*data;
12
struct
linked_list
*next;
13
}
linked_list_t
;
14
linked_list_t
*my_params_to_list(
int
ac,
char
*
const
*av);
15
int
push_front(
linked_list_t
**cabine,
void
*data);
16
int
my_list_size(
linked_list_t
const
*begin);
17
void
my_rev_list(
linked_list_t
**begin);
18
int
my_show_list(
linked_list_t
*liste);
19
int
my_apply_on_nodes(
linked_list_t
*begin,
int
(*f)(
void
*));
20
int
my_apply_on_matching_nodes(
linked_list_t
*begin,
int
(*f)(),
21
void
const
*data_ref,
int
(*cmp) ());
22
linked_list_t
*my_find_node(
linked_list_t
const
*begin,
23
void
const
*data,
int
(*cmp) ());
24
int
my_delete_nodes(
linked_list_t
**begin,
void
const
*data_ref,
int
(*cmp)());
25
void
my_concat_list(
linked_list_t
**begin1,
linked_list_t
*begin2);
26
void
my_sort_list(
linked_list_t
**begin,
int
(*cmp) ());
27
void
sorting_l(
linked_list_t
**ref,
linked_list_t
**rest,
28
char
*temp,
int
(*cmp) ());
29
int
my_strput(
char
const
*str);
30
void
my_charput(
char
c);
31
int
my_nbr_put(
int
nb);
32
int
my_data_put(
void
*nb);
33
34
#endif
linked_list
Definition
mylist.h:10
lib
my
flags
mylist.h
Generated by
1.11.0