Files
42_irc/includes/config.hpp
2024-02-06 12:36:27 +01:00

24 lines
1.1 KiB
C++

/******************************************************************************/
/* */
/* ::: :::::::: */
/* config.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/22 09:45:10 by maldavid #+# #+# */
/* Updated: 2024/02/06 12:35:38 by vvaas ### ########.fr */
/* */
/******************************************************************************/
#ifndef __CONFIG__
#define __CONFIG__
#define INPUT_SIZE 1024
#define LOGS_BUFFER_SIZE 4096
#define MAX_USERS 20
#define FD_MAX 1023
#define NULL_SOCKET -1
#define LEGAL_CHARACTER "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789{}[]\\|^`-_"
#endif