]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/internal.h
Update license comments and added SPDX license identifiers
[pciutils.git] / lib / internal.h
index e9e413e3f73c4267f2ac8e155f6545137cd4f04c..00ac401ec5a3e07d3165b391d59b7ec9d01dd0c1 100644 (file)
@@ -3,7 +3,9 @@
  *
  *     Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz>
  *
- *     Can be freely distributed and used under the terms of the GNU GPL.
+ *     Can be freely distributed and used under the terms of the GNU GPL v2+
+ *
+ *     SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 #include "config.h"
@@ -81,6 +83,8 @@ int pci_emulated_read(struct pci_dev *d, int pos, byte *buf, int len);
 void *pci_malloc(struct pci_access *, int);
 void pci_mfree(void *);
 char *pci_strdup(struct pci_access *a, const char *s);
+struct pci_access *pci_clone_access(struct pci_access *a);
+int pci_init_internal(struct pci_access *a, int skip_method);
 
 void pci_init_v30(struct pci_access *a) VERSIONED_ABI;
 void pci_init_v35(struct pci_access *a) VERSIONED_ABI;
@@ -134,5 +138,5 @@ void pci_free_caps(struct pci_dev *);
 extern struct pci_methods pm_intel_conf1, pm_intel_conf2, pm_linux_proc,
        pm_fbsd_device, pm_aix_device, pm_nbsd_libpci, pm_obsd_device,
        pm_dump, pm_linux_sysfs, pm_darwin, pm_sylixos_device, pm_hurd,
-       pm_mmio_conf1, pm_mmio_conf1_ext,
+       pm_mmio_conf1, pm_mmio_conf1_ext, pm_ecam,
        pm_win32_cfgmgr32, pm_win32_kldbg, pm_win32_sysdbg;