Shared Catalog

This commit is contained in:
khodowany
2026-09-17 00:44:19 -05:00
parent aa1273b07d
commit 5941a4cd49
44 changed files with 3613 additions and 733 deletions
+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include <cstdint>
#include <modulus/types.hpp>
struct pbuf {
pbuf *next{};
void const *payload{};
std::uint16_t tot_len{};
std::uint16_t len{};
std::bool_t freed{};
};
auto pbuf_copy_partial(pbuf const *buffer, void *destination, std::uint16_t length, std::uint16_t offset) -> std::uint16_t;
auto pbuf_free(pbuf *buffer) -> std::uint8_t;