summaryrefslogtreecommitdiffstats
path: root/pcilib/model.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/model.c')
-rw-r--r--pcilib/model.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcilib/model.c b/pcilib/model.c
new file mode 100644
index 0000000..65f96aa
--- /dev/null
+++ b/pcilib/model.c
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <string.h>
+#include <strings.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <arpa/inet.h>
+#include <errno.h>
+#include <assert.h>
+
+#include "pcilib.h"
+#include "pci.h"
+#include "tools.h"
+#include "error.h"
+
+
+const pcilib_model_description_t *pcilib_get_model_description(pcilib_t *ctx) {
+ return &ctx->model_info;
+}