remove inputs
This commit is contained in:
33
2022/7/structs.h
Normal file
33
2022/7/structs.h
Normal file
@ -0,0 +1,33 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* structs.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/29 14:20:26 by tomoron #+# #+# */
|
||||
/* Updated: 2024/10/29 18:10:36 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef STRUCTS_H
|
||||
# define STRUCTS_H
|
||||
|
||||
typedef struct s_file
|
||||
{
|
||||
int is_dir;
|
||||
void *next;
|
||||
char *name;
|
||||
int size;
|
||||
} t_file;
|
||||
|
||||
typedef struct s_directory
|
||||
{
|
||||
int is_dir;
|
||||
void *next;
|
||||
char *name;
|
||||
void *elements;
|
||||
struct s_directory *parent;
|
||||
} t_directory;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user