summaryrefslogtreecommitdiffstats
path: root/pcilib/datacpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/datacpy.h')
-rw-r--r--pcilib/datacpy.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcilib/datacpy.h b/pcilib/datacpy.h
new file mode 100644
index 0000000..1ce2e79
--- /dev/null
+++ b/pcilib/datacpy.h
@@ -0,0 +1,21 @@
+#ifndef _PCILIB_DATACPY_H
+#define _PCILIB_DATACPY_H
+
+#include <stdio.h>
+#include <stdint.h>
+
+#include <pcilib.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void *pcilib_datacpy32(void * dst, void const * src, size_t n, pcilib_endianess_t endianess);
+void *pcilib_datacpy64(void * dst, void const * src, size_t n, pcilib_endianess_t endianess);
+void *pcilib_datacpy(void * dst, void const * src, uint8_t size, size_t n, pcilib_endianess_t endianess);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PCILIB_DATACPY_H */