added dual linked list

This commit is contained in:
Tanguy MAZE
2018-09-30 17:42:57 +02:00
parent 6dcecc0844
commit 4d2356e551
6 changed files with 135 additions and 1 deletions

14
libft.h
View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/08 00:12:36 by tmaze #+# #+# */
/* Updated: 2018/06/07 16:54:31 by tmaze ### ########.fr */
/* Updated: 2018/09/30 17:04:54 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -28,6 +28,18 @@ typedef struct s_list
struct s_list *next;
} t_list;
/*
** définition type t_list2
*/
typedef struct s_list2
{
struct s_list2 *prev;
void *content;
size_t content_size;
struct s_list2 *next;
} t_list2;
/*
** definition macro BUFF_SIZE
*/