/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to model.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-20 20:01:04 UTC
  • Revision ID: csa@suren.me-20150420200104-b5xny65io8lvoz3w
Big redign of model structures

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}