From e0a74558be8d71054ae3c8e6afe8774fc1890b84 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 2 Nov 2020 15:08:38 +0100 Subject: Caps files --- src/c_input.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/c_input.h (limited to 'src/c_input.h') 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 +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* 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 -- cgit v1.2.3