summaryrefslogtreecommitdiffstats
path: root/src/c_input.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-02 15:08:38 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-02 15:08:38 +0100
commite0a74558be8d71054ae3c8e6afe8774fc1890b84 (patch)
tree57bc32451216e00fac58bd8f79eee12543badf56 /src/c_input.h
parentNo more fixed int (diff)
download42-minishell-e0a74558be8d71054ae3c8e6afe8774fc1890b84.tar.gz
42-minishell-e0a74558be8d71054ae3c8e6afe8774fc1890b84.tar.bz2
42-minishell-e0a74558be8d71054ae3c8e6afe8774fc1890b84.tar.xz
42-minishell-e0a74558be8d71054ae3c8e6afe8774fc1890b84.tar.zst
42-minishell-e0a74558be8d71054ae3c8e6afe8774fc1890b84.zip
Caps files
Diffstat (limited to 'src/c_input.h')
-rw-r--r--src/c_input.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/c_input.h b/src/c_input.h
new file mode 100644
index 0000000..f22166a
--- /dev/null
+++ b/src/c_input.h
@@ -0,0 +1,23 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* c_input.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */
+/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef C_INPUT_H
+# define C_INPUT_H
+
+int16_t c_back_slash(char **line, uint32_t plen, t_caps *tcaps);
+int16_t c_ctrl_c(char *line, t_caps *tcaps, t_msh *msh);
+uint32_t c_get_line_num(char *line, uint32_t cpos, uint32_t plen,
+ t_caps *tcaps);
+int16_t c_init_line(uint8_t psx, t_caps *tcaps);
+uint16_t c_get_win_size(struct winsize *ws);
+
+#endif