Skip to content

Commit

Permalink
Add 42 header everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
arzelcm committed Jun 29, 2024
1 parent 93133c4 commit 40bc084
Show file tree
Hide file tree
Showing 56 changed files with 672 additions and 0 deletions.
12 changes: 12 additions & 0 deletions inc/builtins.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* builtins.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:56:42 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:56:43 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef BUILTINS_H
# define BUILTINS_H
# define PWD "pwd"
Expand Down
12 changes: 12 additions & 0 deletions inc/context.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* context.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:56:47 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:56:48 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef CONTEXT_H
# define CONTEXT_H
# define PERM_ERR 126
Expand Down
12 changes: 12 additions & 0 deletions inc/environment.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* environment.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:56:54 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:56:55 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef ENVIRONMENT_H
# define ENVIRONMENT_H

Expand Down
12 changes: 12 additions & 0 deletions inc/environment_helper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* environment_helper.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:56:51 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:56:51 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef ENVIRONMENT_HELPER_H
# define ENVIRONMENT_HELPER_H

Expand Down
12 changes: 12 additions & 0 deletions inc/execute_command.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* execute_command.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:00 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:01 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXECUTE_COMMAND_H
# define EXECUTE_COMMAND_H

Expand Down
12 changes: 12 additions & 0 deletions inc/execute_command_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* execute_command_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:56:56 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:56:57 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXECUTE_COMMAND_UTILS_H
# define EXECUTE_COMMAND_UTILS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/executor.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* executor.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:06 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:07 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXECUTOR_H
# define EXECUTOR_H

Expand Down
12 changes: 12 additions & 0 deletions inc/executor_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* executor_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:03 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:03 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXECUTOR_UTILS_H
# define EXECUTOR_UTILS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/expansor.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* expansor.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:15 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:16 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXPANSOR_H
# define EXPANSOR_H
# include "context.h"
Expand Down
12 changes: 12 additions & 0 deletions inc/expansor_vars.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* expansor_vars.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:12 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:13 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef EXPANSOR_VARS_H
# define EXPANSOR_VARS_H
# define VAR_LIMIT "\"'|<><<>> \t=/."
Expand Down
12 changes: 12 additions & 0 deletions inc/lexer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* lexer.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:21 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:21 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef LEXER_H
# define LEXER_H
# include "context.h"
Expand Down
12 changes: 12 additions & 0 deletions inc/lexer_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* lexer_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:18 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:18 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef LEXER_UTILS_H
# define LEXER_UTILS_H
# include "context.h"
Expand Down
12 changes: 12 additions & 0 deletions inc/meta_chars.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* meta_chars.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:23 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:24 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef META_CHARS_H
# define META_CHARS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/minishell.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minishell.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:26 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:27 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef MINISHELL_H
# define MINISHELL_H
# define PROGRAM_NAME "amethyst"
Expand Down
12 changes: 12 additions & 0 deletions inc/open.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* open.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:31 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:31 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef OPEN_H
# define OPEN_H

Expand Down
12 changes: 12 additions & 0 deletions inc/open_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* open_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:29 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:29 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef OPEN_UTILS_H
# define OPEN_UTILS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/pdata_helpers.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pdata_helpers.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:34 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:34 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef PDATA_HELPERS_H
# define PDATA_HELPERS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/quotes_flag.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* quotes_flag.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:36 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:36 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef QUOTES_FLAG_H
# define QUOTES_FLAG_H

Expand Down
12 changes: 12 additions & 0 deletions inc/quotes_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* quotes_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:38 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:39 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef QUOTES_UTILS_H
# define QUOTES_UTILS_H

Expand Down
12 changes: 12 additions & 0 deletions inc/safe_utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* safe_utils.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arcanava <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/29 21:57:41 by arcanava #+# #+# */
/* Updated: 2024/06/29 21:57:42 by arcanava ### ########.fr */
/* */
/* ************************************************************************** */

#ifndef SAFE_UTILS_H
# define SAFE_UTILS_H

Expand Down
Loading

0 comments on commit 40bc084

Please sign in to comment.