/* * include/alloc_header.h * * liballoc memory block header type. * CISC 301 -- Operating Systems, Project 3 * * Copyright (C) 2025 Douglas B. Rumbaugh * * Distributed under the Modified BSD License * */ #ifndef H_LIBALLOC_HEADER #define H_LIBALLOC_HEADER #include #include #include "constants.h" typedef struct header { size_t size; size_t magic_number; } header; static_assert(sizeof(header) % ALIGNMENT == 0, "Header improperly aligned"); #endif