mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 12:58:00 +03:00
add: new colors
This commit is contained in:
@@ -1,16 +1,33 @@
|
|||||||
#ifndef WEBSERV_HPP
|
#ifndef WEBSERV_HPP
|
||||||
#define WEBSERV_HPP
|
#define WEBSERV_HPP
|
||||||
|
|
||||||
#define RED "\033[31m"
|
//colors
|
||||||
#define GREEN "\033[32m"
|
#define HEADER "\033[95m"
|
||||||
#define YELLOW "\033[33m"
|
#define PINK "\033[35m"
|
||||||
#define YELLO "\033[33m"
|
|
||||||
#define BLUE "\033[34m"
|
#define BLUE "\033[34m"
|
||||||
#define PINK "\033[35m"
|
#define OKBLUE "\033[94m"
|
||||||
|
|
||||||
|
#define FAIL "\033[91m"
|
||||||
|
#define RED "\033[31m"
|
||||||
|
|
||||||
|
#define GREEN "\033[32m"
|
||||||
|
#define OKGREEN "\033[92m"
|
||||||
|
|
||||||
|
#define YELLOW "\033[33m"
|
||||||
|
#define YELLO "\033[33m"
|
||||||
|
#define WARNING "\033[93m"
|
||||||
|
|
||||||
#define TURGUOISE "\033[36m"
|
#define TURGUOISE "\033[36m"
|
||||||
#define TURQ "\033[36m"
|
#define OKCYAN "\033[96m"
|
||||||
#define ZERO_C "\033[0m"
|
|
||||||
#define RESET "\033[0m"
|
#define TURQ "\033[36m"
|
||||||
|
|
||||||
|
#define BOLD "\033[1m"
|
||||||
|
|
||||||
|
#define ENDC "\033[0m"
|
||||||
|
#define ZERO_C "\033[0m"
|
||||||
|
#define RESET "\033[0m"
|
||||||
|
|
||||||
#define HOME "www"
|
#define HOME "www"
|
||||||
#define BUFFSIZE 65536
|
#define BUFFSIZE 65536
|
||||||
@@ -29,6 +46,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <ctime>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <wait.h>
|
#include <wait.h>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
@@ -53,6 +71,9 @@
|
|||||||
#include <cctype>
|
#include <cctype>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define DBOUT std::cerr << TURQ
|
#define DBOUT std::cerr << TURQ
|
||||||
#define ENDL RESET << std::endl
|
#define ENDL RESET << std::endl
|
||||||
|
|||||||
Reference in New Issue
Block a user