Skip to content

Commit c692931

Browse files
committed
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 <[email protected]>" [full] # gpg: aka "Daniel P. Berrange <[email protected]>" [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 <[email protected]>
2 parents 9b198f9 + 063603d commit c692931

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

include/authz/base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
OBJECT_GET_CLASS(QAuthZClass, (obj), \
3636
TYPE_QAUTHZ)
3737
#define QAUTHZ(obj) \
38-
INTERFACE_CHECK(QAuthZ, (obj), \
39-
TYPE_QAUTHZ)
38+
OBJECT_CHECK(QAuthZ, (obj), \
39+
TYPE_QAUTHZ)
4040

4141
typedef struct QAuthZ QAuthZ;
4242
typedef struct QAuthZClass QAuthZClass;

include/authz/list.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
OBJECT_GET_CLASS(QAuthZListClass, (obj), \
3434
TYPE_QAUTHZ_LIST)
3535
#define QAUTHZ_LIST(obj) \
36-
INTERFACE_CHECK(QAuthZList, (obj), \
37-
TYPE_QAUTHZ_LIST)
36+
OBJECT_CHECK(QAuthZList, (obj), \
37+
TYPE_QAUTHZ_LIST)
3838

3939
typedef struct QAuthZList QAuthZList;
4040
typedef struct QAuthZListClass QAuthZListClass;

include/authz/listfile.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
OBJECT_GET_CLASS(QAuthZListFileClass, (obj), \
3535
TYPE_QAUTHZ_LIST_FILE)
3636
#define QAUTHZ_LIST_FILE(obj) \
37-
INTERFACE_CHECK(QAuthZListFile, (obj), \
38-
TYPE_QAUTHZ_LIST_FILE)
37+
OBJECT_CHECK(QAuthZListFile, (obj), \
38+
TYPE_QAUTHZ_LIST_FILE)
3939

4040
typedef struct QAuthZListFile QAuthZListFile;
4141
typedef struct QAuthZListFileClass QAuthZListFileClass;

include/authz/pamacct.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
OBJECT_GET_CLASS(QAuthZPAMClass, (obj), \
3434
TYPE_QAUTHZ_PAM)
3535
#define QAUTHZ_PAM(obj) \
36-
INTERFACE_CHECK(QAuthZPAM, (obj), \
37-
TYPE_QAUTHZ_PAM)
36+
OBJECT_CHECK(QAuthZPAM, (obj), \
37+
TYPE_QAUTHZ_PAM)
3838

3939
typedef struct QAuthZPAM QAuthZPAM;
4040
typedef struct QAuthZPAMClass QAuthZPAMClass;

include/authz/simple.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
OBJECT_GET_CLASS(QAuthZSimpleClass, (obj), \
3333
TYPE_QAUTHZ_SIMPLE)
3434
#define QAUTHZ_SIMPLE(obj) \
35-
INTERFACE_CHECK(QAuthZSimple, (obj), \
36-
TYPE_QAUTHZ_SIMPLE)
35+
OBJECT_CHECK(QAuthZSimple, (obj), \
36+
TYPE_QAUTHZ_SIMPLE)
3737

3838
typedef struct QAuthZSimple QAuthZSimple;
3939
typedef struct QAuthZSimpleClass QAuthZSimpleClass;

0 commit comments

Comments
 (0)