1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _PCILIB_BAR_H #define _PCILIB_BAR_H #ifdef __cplusplus extern "C" { #endif pcilib_bar_t pcilib_detect_bar(pcilib_t *ctx, uintptr_t addr, size_t size); int pcilib_detect_address(pcilib_t *ctx, pcilib_bar_t *bar, uintptr_t *addr, size_t size); #ifdef __cplusplus } #endif #endif /* _PCILIB_BAR_H */