summaryrefslogtreecommitdiffstats
path: root/src/c_input.h
blob: cd582eb5c31d2b5df8972b0ad623a3f56ccacb81 (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
25
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   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

#include "c_init.h"
#include "s_struct.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, t_msh *msh);
unsigned short	c_get_win_size(struct winsize *ws);

#endif