summaryrefslogtreecommitdiffstats
path: root/pcilib/pcilib.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-10-19 07:16:40 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-10-19 07:16:40 +0200
commit87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8 (patch)
treee92aec0ece03cafac6aefe362360c39593bcbc34 /pcilib/pcilib.h
parent8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf (diff)
downloadpcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.gz
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.bz2
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.tar.xz
pcitool-87ef1499bfcaa0ea2a58cb6d3c327162507f6ac8.zip
Add optional description in the value name-aliases
Diffstat (limited to 'pcilib/pcilib.h')
-rw-r--r--pcilib/pcilib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcilib/pcilib.h b/pcilib/pcilib.h
index dbf837d..30bcdab 100644
--- a/pcilib/pcilib.h
+++ b/pcilib/pcilib.h
@@ -142,6 +142,7 @@ typedef struct {
pcilib_register_value_t value; /**< This value will get assigned instead of the name */
pcilib_register_value_t min, max; /**< the values in the specified range are aliased by name */
const char *name; /**< corresponding string to value */
+ const char *description; /**< longer description */
} pcilib_register_value_name_t;
typedef struct {