summaryrefslogtreecommitdiffstats
path: root/src/d_enum.h
blob: c046118f584da6252f78aede991f90755e949a8a (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   d_enum.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 D_ENUM_H
#define D_ENUM_H

/*
** ret vals:
** ---------
** 0: cool
** 1: alloc err
*/

enum
{
	FT_RET_FINE,
	FT_RET_ALLOC
};

enum
{
	FT_WRITE_END,
	FT_READ_END
};

enum
{
	FT_ID_ECHO,
	FT_ID_CD,
	FT_ID_PWD,
	FT_ID_EXPORT,
	FT_ID_UNSET,
	FT_ID_ENV,
	FT_ID_EXIT,
	FT_ID_TYPE,
	FT_ID_SQB,
	FT_BUILTINS_COUNT
};

#endif