DPDK  24.11.0-rc3
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 
16 #include <stdint.h>
17 
18 /*
19  * Extern type
20  */
21 
30 typedef void *
31 (*rte_swx_extern_type_constructor_t)(const char *args);
32 
39 typedef void
41 
64 typedef int
65 (*rte_swx_extern_type_member_func_t)(void *object, void *mailbox);
66 
67 /*
68  * Extern function
69  */
70 
87 typedef int
88 (*rte_swx_extern_func_t)(void *mailbox);
89 
90 #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)