/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* d_enum.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 }; typedef enum { Q_NONE, Q_SINGLE, Q_DOUBLE } t_quote_mode; 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_ID_ALIAS, FT_ID_H, FT_BUILTINS_COUNT }; enum { FT_ID_SQB_B, FT_ID_SQB_C, FT_ID_SQB_D, FT_ID_SQB_E, FT_ID_SQB_F, FT_ID_SQB_H, FT_ID_SQB_N, FT_ID_SQB_P, FT_ID_SQB_R, FT_ID_SQB_S, FT_ID_SQB_W, FT_ID_SQB_X, FT_ID_SQB_Z, FT_ID_SQB_L_MAJ, FT_ID_SQB_S_MAJ, FT_ID_SQB_NT, FT_ID_SQB_OT, FT_ID_SQB_EQUA, FT_ID_SQB_DIFF, FT_ID_SQB_EQ, FT_ID_SQB_NE, FT_ID_SQB_GT, FT_ID_SQB_GE, FT_ID_SQB_LT, FT_ID_SQB_LE, FT_ID_SQB_COUNT }; #endif