diff --git a/include/core/core.hpp b/include/core/core.hpp index a837f41..b7f6d77 100644 --- a/include/core/core.hpp +++ b/include/core/core.hpp @@ -6,7 +6,7 @@ /* By: omoudni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/12 14:16:03 by rparodi #+# #+# */ -/* Updated: 2025/05/21 21:18:22 by omoudni ### ########.fr */ +/* Updated: 2025/06/04 23:45:35 by rparodi ### ########.fr */ /* */ /******************************************************************************/ @@ -16,7 +16,188 @@ #define LOG std::endl << CLR_CYAN << "Debug: " << __FILE__ << ":" << __LINE__ << std::endl << CLR_RESET #endif - +enum e_code { + // 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