DPDK 22.11.4
rte_swx_extern.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2020 Intel Corporation
3 */
4#ifndef __INCLUDE_RTE_SWX_EXTERN_H__
5#define __INCLUDE_RTE_SWX_EXTERN_H__
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
20#include <stdint.h>
21
22/*
23 * Extern type
24 */
25
34typedef void *
35(*rte_swx_extern_type_constructor_t)(const char *args);
36
43typedef void
45
68typedef int
69(*rte_swx_extern_type_member_func_t)(void *object, void *mailbox);
70
71/*
72 * Extern function
73 */
74
91typedef int
92(*rte_swx_extern_func_t)(void *mailbox);
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif
void(* rte_swx_extern_type_destructor_t)(void *object)
int(* rte_swx_extern_func_t)(void *mailbox)
int(* rte_swx_extern_type_member_func_t)(void *object, void *mailbox)