qemu/include/crypto
Eduardo Habkost c734cd40a1 qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE
The requirement to specify the parent class type makes the macro
harder to use and easy to misuse (silent bugs can be introduced
if the wrong struct type is specified).

Simplify the macro by just not declaring any class struct,
allowing us to remove the class_size field from the TypeInfo
variables for those types.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200916182519.415636-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-18 14:12:32 -04:00
..
aes.h crypto/builtin: Move AES_cbc_encrypt into cipher-builtin.inc.c 2020-09-10 11:02:23 +01:00
afsplit.h Don't talk about the LGPL if the file is licensed under the GPL 2019-01-30 10:51:20 +01:00
block.h qapi: enable use of g_autoptr with QAPI types 2020-09-03 09:38:36 +02:00
cipher.h crypto: Allocate QCryptoCipher with the subclass 2020-09-10 11:02:23 +01:00
desrfb.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
hash.h crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00
hmac.h crypto: define cleanup functions for use with g_autoptr 2019-08-22 10:47:12 +01:00
init.h crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00
ivgen.h crypto: define cleanup functions for use with g_autoptr 2019-08-22 10:47:12 +01:00
pbkdf.h crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00
random.h crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00
secret.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
secret_common.h Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
secret_keyring.h qom: Remove ParentClassType argument from OBJECT_DECLARE_SIMPLE_TYPE 2020-09-18 14:12:32 -04:00
tls-cipher-suites.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tlscreds.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tlscredsanon.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tlscredspsk.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tlscredsx509.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tlssession.h crypto: Fix typo in QCryptoTLSSession's <example> comment 2019-12-18 08:36:15 +01:00
xts.h crypto: Fix LGPL information in the file headers 2019-07-19 14:21:25 +01:00