]> git.dkaiser.de - 42/minishell.git/commitdiff
updated the prototyps for the tokenizer
authorChristopher Uhlig <chuhlig@1-B-19.42heilbronn.de>
Fri, 28 Jun 2024 20:01:20 +0000 (22:01 +0200)
committerChristopher Uhlig <chuhlig@1-B-19.42heilbronn.de>
Fri, 28 Jun 2024 20:01:20 +0000 (22:01 +0200)
include/token.h

index 38e758fb283927bf42e846af18a159c9c82fc4a4..6dd44c97de9631063c50eb224ad167622714ad80 100644 (file)
@@ -3,10 +3,10 @@
 /*                                                        :::      ::::::::   */
 /*   token.h                                            :+:      :+:    :+:   */
 /*                                                    +:+ +:+         +:+     */
-/*   By: dkaiser <dkaiser@student.42heilbronn.de    +#+  +:+       +#+        */
+/*   By: chuhlig <chuhlig@student.42.fr>            +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2024/06/27 13:27:18 by dkaiser           #+#    #+#             */
-/*   Updated: 2024/06/28 14:59:19 by dkaiser          ###   ########.fr       */
+/*   Updated: 2024/06/28 21:49:55 by chuhlig          ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -46,4 +46,10 @@ t_token                                              *new_redir_token(int type, t_token *previous,
 
 void                                           free_token(t_token *token);
 
-#endif
+void                                           print_token(t_token *token);
+void                                           conditional_print(char *string, int start_of_string, int i, int offset, t_token **token_list);
+void                                           tokenizer(char *s, t_token **token_list);
+void                                           print_token(t_token *token);
+
+
+#endif
\ No newline at end of file