From f13867f64fcba24ef2cb9d726b5ee1082ac1a8b9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 9 Oct 2015 04:42:53 +0200 Subject: Implement enum view --- pcilib/unit.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pcilib/unit.h') diff --git a/pcilib/unit.h b/pcilib/unit.h index dad7962..3e49174 100644 --- a/pcilib/unit.h +++ b/pcilib/unit.h @@ -1,6 +1,8 @@ #ifndef _PCILIB_UNIT_H #define _PCILIB_UNIT_H +#include + #include #define PCILIB_UNIT_INVALID ((pcilib_unit_t)-1) @@ -23,6 +25,12 @@ typedef struct { pcilib_unit_transform_t transforms[PCILIB_MAX_TRANSFORMS_PER_UNIT + 1]; /**< Transforms to other units */ } pcilib_unit_description_t; +struct pcilib_unit_context_s { + const char *name; + pcilib_unit_t unit; + UT_hash_handle hh; +}; + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3