bzr branch
http://suren.me/webbzr/alps/pcitool
236
by Suren A. Chilingaryan
Big redign of model structures |
1 |
#include <stdio.h> |
2 |
#include <string.h> |
|
3 |
#include <strings.h> |
|
4 |
#include <stdlib.h> |
|
5 |
#include <stdint.h> |
|
6 |
#include <fcntl.h> |
|
7 |
#include <unistd.h> |
|
8 |
#include <sys/ioctl.h> |
|
9 |
#include <sys/mman.h> |
|
10 |
#include <arpa/inet.h> |
|
11 |
#include <errno.h> |
|
12 |
#include <assert.h> |
|
13 |
||
14 |
#include "pcilib.h" |
|
15 |
#include "pci.h" |
|
16 |
#include "tools.h" |
|
17 |
#include "error.h" |
|
18 |
||
19 |
||
20 |
const pcilib_model_description_t *pcilib_get_model_description(pcilib_t *ctx) { |
|
21 |
return &ctx->model_info; |
|
22 |
}
|