summaryrefslogtreecommitdiffstats
path: root/src/c_input.h
blob: 07c4e93016c5b4bd7c918aea48b7337b4a751083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   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

short			c_back_slash(char **line, unsigned int plen, t_caps *tcaps);
unsigned int	c_get_line_num(char *line, unsigned int cpos, unsigned int plen,
				t_caps *tcaps);
short			c_init_line(char psx, t_caps *tcaps);
unsigned short	c_get_win_size(struct winsize *ws);
t_msh			*c_get_struct(int mode, t_msh **msh);


#endif