mirror of
https://github.com/mii443/qemu.git
synced 2025-12-07 21:18:22 +00:00
Merge remote-tracking branch 'remotes/berrange/tags/authz-next-pull-request' into staging
Fix object interface check macro usage # gpg: Signature made Thu 21 Mar 2019 11:53:15 GMT # gpg: using RSA key BE86EBB415104FDF # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>" [full] # gpg: aka "Daniel P. Berrange <berrange@redhat.com>" [full] # Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF * remotes/berrange/tags/authz-next-pull-request: authz: Use OBJECT_CHECK() on objects Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
OBJECT_GET_CLASS(QAuthZClass, (obj), \
|
||||
TYPE_QAUTHZ)
|
||||
#define QAUTHZ(obj) \
|
||||
INTERFACE_CHECK(QAuthZ, (obj), \
|
||||
TYPE_QAUTHZ)
|
||||
OBJECT_CHECK(QAuthZ, (obj), \
|
||||
TYPE_QAUTHZ)
|
||||
|
||||
typedef struct QAuthZ QAuthZ;
|
||||
typedef struct QAuthZClass QAuthZClass;
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
OBJECT_GET_CLASS(QAuthZListClass, (obj), \
|
||||
TYPE_QAUTHZ_LIST)
|
||||
#define QAUTHZ_LIST(obj) \
|
||||
INTERFACE_CHECK(QAuthZList, (obj), \
|
||||
TYPE_QAUTHZ_LIST)
|
||||
OBJECT_CHECK(QAuthZList, (obj), \
|
||||
TYPE_QAUTHZ_LIST)
|
||||
|
||||
typedef struct QAuthZList QAuthZList;
|
||||
typedef struct QAuthZListClass QAuthZListClass;
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
OBJECT_GET_CLASS(QAuthZListFileClass, (obj), \
|
||||
TYPE_QAUTHZ_LIST_FILE)
|
||||
#define QAUTHZ_LIST_FILE(obj) \
|
||||
INTERFACE_CHECK(QAuthZListFile, (obj), \
|
||||
TYPE_QAUTHZ_LIST_FILE)
|
||||
OBJECT_CHECK(QAuthZListFile, (obj), \
|
||||
TYPE_QAUTHZ_LIST_FILE)
|
||||
|
||||
typedef struct QAuthZListFile QAuthZListFile;
|
||||
typedef struct QAuthZListFileClass QAuthZListFileClass;
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
OBJECT_GET_CLASS(QAuthZPAMClass, (obj), \
|
||||
TYPE_QAUTHZ_PAM)
|
||||
#define QAUTHZ_PAM(obj) \
|
||||
INTERFACE_CHECK(QAuthZPAM, (obj), \
|
||||
TYPE_QAUTHZ_PAM)
|
||||
OBJECT_CHECK(QAuthZPAM, (obj), \
|
||||
TYPE_QAUTHZ_PAM)
|
||||
|
||||
typedef struct QAuthZPAM QAuthZPAM;
|
||||
typedef struct QAuthZPAMClass QAuthZPAMClass;
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
OBJECT_GET_CLASS(QAuthZSimpleClass, (obj), \
|
||||
TYPE_QAUTHZ_SIMPLE)
|
||||
#define QAUTHZ_SIMPLE(obj) \
|
||||
INTERFACE_CHECK(QAuthZSimple, (obj), \
|
||||
TYPE_QAUTHZ_SIMPLE)
|
||||
OBJECT_CHECK(QAuthZSimple, (obj), \
|
||||
TYPE_QAUTHZ_SIMPLE)
|
||||
|
||||
typedef struct QAuthZSimple QAuthZSimple;
|
||||
typedef struct QAuthZSimpleClass QAuthZSimpleClass;
|
||||
|
||||
Reference in New Issue
Block a user