Replace http_/HTTP_ prefixes with chttp_/CHTTP_

This commit is contained in:
2025-12-09 12:12:21 +01:00
parent db030b3834
commit 04deae62d6
25 changed files with 1703 additions and 1703 deletions
+4 -4
View File
@@ -53,8 +53,8 @@ license = """
"""
header = Amalgamator()
header.append_text("#ifndef HTTP_INCLUDED\n")
header.append_text("#define HTTP_INCLUDED\n")
header.append_text("#ifndef CHTTP_INCLUDED\n")
header.append_text("#define CHTTP_INCLUDED\n")
header.append_text(desc)
header.append_file("src/includes.h")
header.append_file("src/basic.h")
@@ -66,13 +66,13 @@ header.append_file("src/cert.h")
header.append_file("src/client.h")
header.append_file("src/server.h")
header.append_text(license)
header.append_text("#endif // HTTP_INCLUDED\n")
header.append_text("#endif // CHTTP_INCLUDED\n")
header.save("chttp.h")
source = Amalgamator()
source.append_text(desc)
source.append_text("\n")
source.append_text("#ifndef HTTP_DONT_INCLUDE\n")
source.append_text("#ifndef CHTTP_DONT_INCLUDE\n")
source.append_text('#include "chttp.h"\n')
source.append_text("#endif\n")
source.append_file("src/basic.c")