summaryrefslogtreecommitdiffstats
path: root/src/s_lredir.h
blob: 4b825113c7781717a0d90ca81d4b81dcb1f4bd6c (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   s_lredir.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 S_LREDIR_H
#define S_LREDIR_H

#include <stdint.h>

#include "s_struct.h"

void			s_lredir_add_back(t_lredir **lredir, t_lredir *new);
void			s_lredir_clear(struct s_lredir **lredir);
struct s_lredir	*s_lredir_new(const char path[], int32_t fd, int8_t redir);

#endif