crypto: move QCryptoHashAlgorithm enum definition into QAPI
commitd84b79d358c3e5a490f8b82641b7f99b52458545
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 19 Nov 2015 17:09:01 +0000 (19 17:09 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Dec 2015 11:02:20 +0000 (23 11:02 +0000)
treeca8c21261c0d771fe1e871730e37f9d3ab62964d
parent7b36064c90c377d07d30904318d6cbfe5a133af1
crypto: move QCryptoHashAlgorithm enum definition into QAPI

The QCryptoHashAlgorithm enum is defined in the crypto/hash.h
header. In the future some QAPI types will want to reference
the hash enums, so move the enum definition into QAPI too.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/hash.c
include/crypto/hash.h
qapi/crypto.json