Home GnuPG

Move list of hardware features to hwfeatures.c.
4ae77322b681Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Move list of hardware features to hwfeatures.c.

* src/global.c (hwflist, disabled_hw_features): Move to ..
* src/hwfeatures.c: here.
(_gcry_disable_hw_feature): New.
(_gcry_enum_hw_features): New.
(_gcry_detect_hw_features): Remove arg DISABLED_FEATURES.
* src/global.c (print_config, _gcry_vcontrol, global_init): Adjust
accordingly.

It is better to keep the hardware feature infor at one place.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 12 2013, 6:53 PM
Parents
rC3b30e9840d4b: Remove macro hacks for internal vs. external functions. Part 2 and last.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC4ae77322b681: Move list of hardware features to hwfeatures.c. (authored by Werner Koch <wk@gnupg.org>).Dec 12 2013, 6:53 PM