Files
product-vamp/tests/fixtures/pico_sdk/lwip/pbuf.h
T
2026-09-17 00:44:19 -05:00

18 lines
367 B
C++

#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;