]> Git Repo - qemu.git/commitdiff
crypto: Move QCryptoCipherDriver typedef to crypto/cipher.h
authorRichard Henderson <[email protected]>
Fri, 28 Aug 2020 17:05:12 +0000 (10:05 -0700)
committerDaniel P. BerrangĂ© <[email protected]>
Thu, 10 Sep 2020 10:02:23 +0000 (11:02 +0100)
Allow the use in QCryptoCipher to be properly typed with
the opaque struct pointer.

Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Daniel P. BerrangĂ© <[email protected]>
crypto/cipherpriv.h
include/crypto/cipher.h

index 0823239f4136802ef908adda9ca39f08dbf71ffb..9228c9fc3ac329b78b86a54d06df3b71147073a8 100644 (file)
@@ -17,8 +17,6 @@
 
 #include "qapi/qapi-types-crypto.h"
 
-typedef struct QCryptoCipherDriver QCryptoCipherDriver;
-
 struct QCryptoCipherDriver {
     int (*cipher_encrypt)(QCryptoCipher *cipher,
                           const void *in,
index 5928e5ecc72e762cf5cb79e793b1cb423932eac1..8a42a683a40c6a1913f4f9ba3b7595415f51cc73 100644 (file)
@@ -24,6 +24,7 @@
 #include "qapi/qapi-types-crypto.h"
 
 typedef struct QCryptoCipher QCryptoCipher;
+typedef struct QCryptoCipherDriver QCryptoCipherDriver;
 
 /* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode"
  * enums defined in qapi/crypto.json */
This page took 0.026339 seconds and 4 git commands to generate.