summaryrefslogtreecommitdiffstats
path: root/src/u_path.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/u_path.h (renamed from src/e_externs_next.h)14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/e_externs_next.h b/src/u_path.h
index db03bac..0c8e256 100644
--- a/src/e_externs_next.h
+++ b/src/u_path.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* e_externs_next.h :+: :+: :+: */
+/* u_path.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,12 +10,16 @@
/* */
/* ************************************************************************** */
-#ifndef E_EXTERNS_NEXT_H
-#define E_EXTERNS_NEXT_H
+#ifndef U_PATH_H
+#define U_PATH_H
+
+#include <stdint.h>
#include "s_struct.h"
-char **get_env_path(t_msh *msh);
-char *search_in_path(const char com[], char *envpath[], t_msh *msh);
+uint8_t u_search_in_path(char fullpath[],
+ const char com[],
+ size_t dstsize,
+ t_msh *msh);
#endif