xref: /openbmc/phosphor-bmc-code-mgmt/test/create_package/component_image_info_area.hpp (revision 4a053c8e069133436d490aaff12471ee6c9d0677)
1 #pragma once
2 
3 #include <unistd.h>
4 
5 #include <cstdint>
6 
7 /*
8  * componentLocationOffsetIndex  is for backfilling by the caller
9  */
10 ssize_t create_pldm_component_image_info_area_v1_0_0(
11     uint8_t* b, ssize_t i, size_t component_image_size,
12     size_t& componentLocationOffsetIndex);
13