DPDK  23.07.0
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
8 extern "C" {
9 #endif
10 
20 #include <stdint.h>
21 
22 /*
23  * Extern type
24  */
25 
34 typedef void *
35 (*rte_swx_extern_type_constructor_t)(const char *args);
36 
43 typedef void
45 
68 typedef int
69 (*rte_swx_extern_type_member_func_t)(void *object, void *mailbox);
70 
71 /*
72  * Extern function
73  */
74 
91 typedef int
92 (*rte_swx_extern_func_t)(void *mailbox);
93 
94 #ifdef __cplusplus
95 }
96 #endif
97 
98 #endif
int(* rte_swx_extern_func_t)(void *mailbox)
void(* rte_swx_extern_type_destructor_t)(void *object)
int(* rte_swx_extern_type_member_func_t)(void *object, void *mailbox)