diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-09 03:11:34 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-09 03:11:34 +0200 |
commit | 3b8e32c9bbe0d909c34303da0ad36ef0ef5be852 (patch) | |
tree | ed22378979b2889a84615cf9f24de76359a95244 /views | |
parent | 21812f8d763fac8ee9bb3fdc593642b06f405a2b (diff) | |
download | pcitool-3b8e32c9bbe0d909c34303da0ad36ef0ef5be852.tar.gz pcitool-3b8e32c9bbe0d909c34303da0ad36ef0ef5be852.tar.bz2 pcitool-3b8e32c9bbe0d909c34303da0ad36ef0ef5be852.tar.xz pcitool-3b8e32c9bbe0d909c34303da0ad36ef0ef5be852.zip |
Introduce hashes
Diffstat (limited to 'views')
-rw-r--r-- | views/enum.c | 4 | ||||
-rw-r--r-- | views/transform.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/enum.c b/views/enum.c index aecda7a..5d3a726 100644 --- a/views/enum.c +++ b/views/enum.c @@ -42,6 +42,6 @@ static int pcilib_enum_view_write(pcilib_t *ctx, pcilib_view_context_t *view, pc } const pcilib_view_api_description_t pcilib_enum_view_static_api = - { PCILIB_VERSION, sizeof(pcilib_enum_view_description_t), NULL, NULL, pcilib_enum_view_read, pcilib_enum_view_write }; + { PCILIB_VERSION, sizeof(pcilib_enum_view_description_t), NULL, NULL, NULL, pcilib_enum_view_read, pcilib_enum_view_write }; const pcilib_view_api_description_t pcilib_enum_view_xml_api = - { PCILIB_VERSION, sizeof(pcilib_enum_view_description_t), NULL, pcilib_enum_view_free, pcilib_enum_view_read, pcilib_enum_view_write }; + { PCILIB_VERSION, sizeof(pcilib_enum_view_description_t), NULL, NULL, pcilib_enum_view_free, pcilib_enum_view_read, pcilib_enum_view_write }; diff --git a/views/transform.c b/views/transform.c index 93fc783..8885e17 100644 --- a/views/transform.c +++ b/views/transform.c @@ -68,4 +68,4 @@ static int pcilib_transform_view_write(pcilib_t *ctx, pcilib_view_context_t *vie const pcilib_view_api_description_t pcilib_transform_view_api = - { PCILIB_VERSION, sizeof(pcilib_transform_view_description_t), NULL, NULL, pcilib_transform_view_read, pcilib_transform_view_write }; + { PCILIB_VERSION, sizeof(pcilib_transform_view_description_t), NULL, NULL, NULL, pcilib_transform_view_read, pcilib_transform_view_write }; |