mirror of
https://github.com/Savapitech/42sh.git
synced 2026-01-18 16:57:28 +01:00
22 lines
377 B
C
22 lines
377 B
C
/*
|
|
** EPITECH PROJECT, 2025
|
|
** __
|
|
** File description:
|
|
** _
|
|
*/
|
|
|
|
#ifndef ALIAS_H
|
|
#define ALIAS_H
|
|
#include <stddef.h>
|
|
|
|
typedef struct alias_s {
|
|
size_t size;
|
|
char **alias_array;
|
|
char **alias_to_replace;
|
|
} alias_t;
|
|
|
|
void free_alias(alias_t *alias);
|
|
int parse_alias(char **buffer, size_t *buffer_len, alias_t *alias);
|
|
alias_t init_alias(void);
|
|
#endif /* ALIAS*/
|