#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+#include <sys/queue.h>
#include <rte_dev.h>
#include <rte_lcore.h>
*/
int rte_eal_intr_init(void);
+/**
+ * Close the default log stream
+ *
+ * This function is private to EAL.
+ */
+void rte_eal_log_cleanup(void);
+
/**
* Init alarm mechanism. This is to allow a callback be called after
* specific time.
*/
int rte_eal_alarm_init(void);
+/**
+ * Alarm mechanism cleanup.
+ *
+ * This function is private to EAL.
+ *
+ * @return
+ * 0 on success, negative on error
+ */
+void rte_eal_alarm_cleanup(void);
+
/**
* Function is to check if the kernel module(like, vfio, vfio_iommu_type1,
* etc.) loaded.
*
* @param run_dir
* The new runtime directory path of DPDK
- * @param size
- * The size of the new runtime directory path in bytes.
* @return
* 0 on success, (-1) on failure.
*/
int
-eal_set_runtime_dir(char *run_dir, size_t size);
+eal_set_runtime_dir(const char *run_dir);
/**
* Get the internal configuration structure.