GeezerVison is showing github.com — Make #include for internal headers always use fully qualified paths (… · bcsgh/libhttpserver@dd7469f
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/basic_auth_fail_response.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | USA |
19 | 19 | */ |
20 | 20 |
|
21 | | -#include "basic_auth_fail_response.hpp" |
| 21 | +#include "httpserver/basic_auth_fail_response.hpp" |
22 | 22 |
|
23 | 23 | using namespace std; |
24 | 24 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/deferred_response.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | USA |
19 | 19 | */ |
20 | 20 |
|
21 | | -#include "deferred_response.hpp" |
| 21 | +#include "httpserver/deferred_response.hpp" |
22 | 22 |
|
23 | 23 | using namespace std; |
24 | 24 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/details/http_endpoint.cpp +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | USA |
19 | 19 | */ |
20 | 20 |
|
21 | | -#include "details/http_endpoint.hpp" |
22 | | -#include "http_utils.hpp" |
23 | | -#include "string_utilities.hpp" |
| 21 | +#include "httpserver/details/http_endpoint.hpp" |
| 22 | +#include "httpserver/http_utils.hpp" |
| 23 | +#include "httpserver/string_utilities.hpp" |
24 | 24 |
|
25 | 25 | using namespace std; |
26 | 26 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/digest_auth_fail_response.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | USA |
19 | 19 | */ |
20 | 20 |
|
21 | | -#include "digest_auth_fail_response.hpp" |
| 21 | +#include "httpserver/digest_auth_fail_response.hpp" |
22 | 22 |
|
23 | 23 | using namespace std; |
24 | 24 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/file_response.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
19 | 19 | */ |
20 | 20 |
|
21 | 21 | #include <fcntl.h> |
22 | | -#include "file_response.hpp" |
| 22 | +#include "httpserver/file_response.hpp" |
23 | 23 |
|
24 | 24 | using namespace std; |
25 | 25 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/http_request.cpp +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
19 | 19 |
|
20 | 20 | */ |
21 | 21 |
|
22 | | -#include "http_utils.hpp" |
23 | | -#include "http_request.hpp" |
24 | | -#include "string_utilities.hpp" |
| 22 | +#include "httpserver/http_utils.hpp" |
| 23 | +#include "httpserver/http_request.hpp" |
| 24 | +#include "httpserver/string_utilities.hpp" |
25 | 25 | #include <iostream> |
26 | 26 |
|
27 | 27 | using namespace std; |
|
Collapse file
Copy file name to clipboardExpand all lines: src/http_resource.cpp +7-7Lines changed: 7 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
20 | 20 |
|
21 | 21 | #include <stdlib.h> |
22 | 22 |
|
23 | | -#include "http_resource.hpp" |
24 | | -#include "http_utils.hpp" |
25 | | -#include "http_request.hpp" |
26 | | -#include "http_response.hpp" |
27 | | -#include "webserver.hpp" |
28 | | -#include "string_utilities.hpp" |
29 | | -#include "string_response.hpp" |
| 23 | +#include "httpserver/http_resource.hpp" |
| 24 | +#include "httpserver/http_utils.hpp" |
| 25 | +#include "httpserver/http_request.hpp" |
| 26 | +#include "httpserver/http_response.hpp" |
| 27 | +#include "httpserver/webserver.hpp" |
| 28 | +#include "httpserver/string_utilities.hpp" |
| 29 | +#include "httpserver/string_response.hpp" |
30 | 30 |
|
31 | 31 | using namespace std; |
32 | 32 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/http_response.cpp +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
24 | 24 | #include <sstream> |
25 | 25 | #include <fcntl.h> |
26 | 26 | #include <unistd.h> |
27 | | -#include "http_utils.hpp" |
28 | | -#include "webserver.hpp" |
29 | | -#include "http_response.hpp" |
| 27 | +#include "httpserver/http_utils.hpp" |
| 28 | +#include "httpserver/webserver.hpp" |
| 29 | +#include "httpserver/http_response.hpp" |
30 | 30 |
|
31 | 31 | using namespace std; |
32 | 32 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: src/http_utils.cpp +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
37 | 37 | #include <fstream> |
38 | 38 | #include <iostream> |
39 | 39 | #include <stdexcept> |
40 | | -#include "string_utilities.hpp" |
41 | | -#include "http_utils.hpp" |
| 40 | +#include "httpserver/string_utilities.hpp" |
| 41 | +#include "httpserver/http_utils.hpp" |
42 | 42 |
|
43 | 43 | #pragma GCC diagnostic ignored "-Warray-bounds" |
44 | 44 | #define CHECK_BIT(var,pos) ((var) & (1<<(pos))) |
|
Collapse file
Copy file name to clipboardExpand all lines: src/httpserver/webserver.hpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
46 | 46 | #include "httpserver/create_webserver.hpp" |
47 | 47 | #include "httpserver/http_response.hpp" |
48 | 48 |
|
49 | | -#include "details/http_endpoint.hpp" |
| 49 | +#include "httpserver/details/http_endpoint.hpp" |
50 | 50 |
|
51 | 51 | namespace httpserver { |
52 | 52 |
|
|