We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6212778 commit 8d9d48cCopy full SHA for 8d9d48c
include/output/output.hpp
@@ -1,10 +1,7 @@
1
#ifndef OUTPUT_HPP
2
#define OUTPUT_HPP
3
4
-#include <iostream>
5
-
6
-#include "colors.hpp"
7
-#include "webserv.hpp"
+#include <string>
8
9
typedef enum output_flag_e { SET = 1, PRINT = 2, UNSET = 4 } output_flag_t;
10
src/output/output.cpp
@@ -1,5 +1,10 @@
#include "output.hpp"
+#include <iostream>
+
+#include "colors.hpp"
+#include "webserv.hpp"
int getBit(output_flag_t flag, int value) { return value & flag; }
void printInfo(int flags) {
0 commit comments