fix: add prototype create_value_by_key_dup

This commit is contained in:
Camille Chauvet 2023-02-21 14:36:20 +01:00
parent 73d1f11269
commit 69d6ac533b

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */ /* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/14 13:45:30 by cchauvet #+# #+# */ /* Created: 2023/02/14 13:45:30 by cchauvet #+# #+# */
/* Updated: 2023/02/21 13:22:44 by cchauvet ### ########.fr */ /* Updated: 2023/02/21 14:09:21 by cchauvet ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -46,6 +46,7 @@ char **env_to_strs(t_list **head);
t_list **init_env(char **env); t_list **init_env(char **env);
char **env_to_strs(t_list **head); char **env_to_strs(t_list **head);
int create_value_by_key(char *key, char *value, t_list **head); int create_value_by_key(char *key, char *value, t_list **head);
int create_value_by_key_dup(char *key, char *value, t_list **head);
int set_value_by_key(char *key, char *value, t_list **head); int set_value_by_key(char *key, char *value, t_list **head);
char *get_value_by_key(char *key, t_list **head); char *get_value_by_key(char *key, t_list **head);
int get_index(char *s, char c); int get_index(char *s, char c);