1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright 2018 Gaëtan Rivet 3 */ 4 5 #ifndef _VDEV_PRIVATE_H_ 6 #define _VDEV_PRIVATE_H_ 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 struct rte_device * 13 rte_vdev_find_device(const struct rte_device *start, 14 rte_dev_cmp_t cmp, 15 const void *data); 16 17 void * 18 rte_vdev_dev_iterate(const void *start, 19 const char *str, 20 const struct rte_dev_iterator *it); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* _VDEV_PRIVATE_H_ */ 27