Implement http-module (#637)

Create http-module and implement it in App Hub and App Hub Details apps.
This commit is contained in:
Ken Van Hoeylandt
2026-08-28 23:09:59 +02:00
committed by GitHub
parent d2442bedb4
commit bcbf18e363
27 changed files with 1265 additions and 77 deletions
+25
View File
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: Apache-2.0
#include <http/download.h>
#include <http/module.h>
extern "C" {
static const ModuleSymbol http_module_symbols[] = {
DEFINE_MODULE_SYMBOL(http_download_subscribe),
DEFINE_MODULE_SYMBOL(http_download_unsubscribe),
DEFINE_MODULE_SYMBOL(http_download_poll),
DEFINE_MODULE_SYMBOL(http_download_start),
DEFINE_MODULE_SYMBOL(http_download_cancel),
MODULE_SYMBOL_TERMINATOR
};
Module http_module = {
.name = "http",
.start = nullptr,
.stop = nullptr,
.drivers = nullptr,
.symbols = http_module_symbols,
.internal = nullptr,
};
}