summaryrefslogtreecommitdiffstats
path: root/pcilib/unit.h
diff options
context:
space:
mode:
authornicolas.zilio@hotmail.fr <>2015-09-15 12:07:04 +0200
committernicolas.zilio@hotmail.fr <>2015-09-15 12:07:04 +0200
commit33db9c07bd08fae74c145c547f1b0e9f55ab25ae (patch)
tree7121279d8ebe972374cae6238096f0f8008be1d5 /pcilib/unit.h
parent6c47064466d8484813741f347e41af1d4ac90f85 (diff)
downloadpcitool-33db9c07bd08fae74c145c547f1b0e9f55ab25ae.tar.gz
pcitool-33db9c07bd08fae74c145c547f1b0e9f55ab25ae.tar.bz2
pcitool-33db9c07bd08fae74c145c547f1b0e9f55ab25ae.tar.xz
pcitool-33db9c07bd08fae74c145c547f1b0e9f55ab25ae.zip
merge views and units, some name homogeneisation
Diffstat (limited to 'pcilib/unit.h')
-rw-r--r--pcilib/unit.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/pcilib/unit.h b/pcilib/unit.h
deleted file mode 100644
index 4a99f5b..0000000
--- a/pcilib/unit.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef _PCILIB_UNITS_H
-#define _PCILIB_UNITS_H
-
-#include "pcilib.h"
-
-#define PCILIB_MAX_TRANSFORMS_PER_UNIT 16
-
-typedef struct pcilib_unit_s pcilib_unit_t;
-typedef struct pcilib_transform_unit_s pcilib_transform_unit_t;
-
-/**
- * type to save a transformation unit in the pcitool program
- */
-struct pcilib_transform_unit_s{
- char *name;
- char *transform_formula;
-};
-
-/**
- * type to save a unit in the pcitool programm
- */
-struct pcilib_unit_s{
- char* name;
- pcilib_transform_unit_t other_units[PCILIB_MAX_TRANSFORMS_PER_UNIT];
-};
-
-/**
- * function to populate the ctx with units
- */
-int pcilib_add_units(pcilib_t* ctx, size_t n, const pcilib_unit_t* units);
-
-#endif