/******************************************************************************/ /* */ /* ::: :::::::: */ /* core.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: omoudni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/12 14:16:03 by rparodi #+# #+# */ /* Updated: 2025/06/21 11:59:02 by rparodi ### ########.fr */ /* */ /******************************************************************************/ #pragma once #ifndef BONUS #define BONUS 0 #endif enum e_code { //command for parsing _PARSING_OK = 000, // Reply codes (RPL_*) RPL_WELCOME = 001, // “ :Welcome to the Internet Relay Network !@” RPL_YOURHOST = 002, // “ :Your host is , running version ” RPL_CREATED = 003, // “ :This server was created ” RPL_MYINFO = 004, // “ ” RPL_BOUNCE = 005, // “ … :are available on this server” // Tracing and stats (200–211, 214, 219–221, 241–242, 250–255) RPL_TRACELINK = 200, // “Link V” RPL_TRACECONNECTING = 201, // “Try. ” RPL_TRACEHANDSHAKE = 202, // “H.S. ” RPL_TRACEUNKNOWN = 203, // “???? []” RPL_TRACEOPERATOR = 204, // “Oper ” RPL_TRACEUSER = 205, // “User ” RPL_TRACESERVER = 206, // “Serv S C ” RPL_TRACESERVICE = 207, // “Service ” RPL_TRACENEWTYPE = 208, // “ 0 ” RPL_TRACECLASS = 209, // “Class ` RPL_TRACERECONNECT = 210, // “Reconnect ” RPL_STATSLINKINFO = 211, // “Link