mirror of
https://github.com/Savapitech/42sh.git
synced 2026-01-18 16:57:28 +01:00
21 lines
476 B
C
21 lines
476 B
C
/*
|
|
** EPITECH PROJECT, 2025
|
|
** __
|
|
** File description:
|
|
** _
|
|
*/
|
|
|
|
|
|
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
#include "history.h"
|
|
#include "exec.h"
|
|
|
|
char *strn_to_ndup(int start, int size, char *str);
|
|
bool is_a_token(char *str, int index_str);
|
|
char *cat_in_str(his_variable_t *his_variable, char *str, char *cpy);
|
|
int len_array(char **array);
|
|
char *insert_str(const char *base, const char *insert, size_t pos);
|
|
void free_everything(exec_ctx_t *exec_ctx);
|
|
#endif /* UTILS_H */
|