#ifndef VMA_COMMON_H
#define VMA_COMMON_H
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#define MAX_CPU_CORES 64
typedef struct {
bool use_socketxtreme; bool optimize_for_latency; bool use_polling; bool non_blocking; int ring_count; int buffer_size; bool enable_timestamps; bool use_hugepages; uint32_t tx_bufs; uint32_t rx_bufs; bool disable_poll_yield; bool skip_os_select; bool keep_qp_full; int cpu_cores[MAX_CPU_CORES]; int cpu_cores_count; } vma_options_t;
void vma_setup_environment(const vma_options_t* options);
void set_default_options(vma_options_t* options);
#endif