Include sha256 implementation

This commit is contained in:
2026-05-05 11:31:43 +02:00
parent 45094ff008
commit 93e8bf6673
4 changed files with 199 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
#include <microhttpd.h>
#include <sha256.h>
#define NOH_IMPLEMENTATION
#include "noh.h"
@@ -29,7 +30,7 @@ static enum MHD_Result handle_opds(struct MHD_Connection *connection, SV url, SV
noh_string_append_cstr(&fs_path, "/");
noh_string_append_sv(&fs_path, url);
noh_log(NOH_INFO, "Rquest: "Nsv_Fmt, Nsv_Arg(fs_path));
noh_log(NOH_INFO, "Physical path: "Nsv_Fmt, Nsv_Arg(fs_path));
return send_response(connection, 200, sv("TODO: OPDS\n"));
}