14 assert(0x6c == endian ||
24 const size_t sizes1[] = { 0, 1, 8, 255 };
25 const size_t sizes2[] = { 16, 256, 32 };
30 cfg.
n_struct =
sizeof(sizes1) /
sizeof(sizes1[0]);
34 cfg.
n_struct =
sizeof(sizes2) /
sizeof(sizes2[0]);
41 int main(
int argc,
char *argv[])
44 fprintf(stderr,
"Usage: %s test_id\n", argv[0]);
56 fprintf(stderr,
"Invalid test_id: %s \n", argv[1]);
static void test_hipcScfgCheckStrusize(void)
int main(int argc, char *argv[])
void hipcScfgInit(const struct HIPC_scfg *const cfg_p)
Initializes a server-side configuration.
static void test_hipcScfgInit(void)
const size_t * strusize_p
enum HIPC_errno hipcScfgCheckStrusize(const struct HIPC_scfg *const cfg_p)
Checks structure sizes.