diff options
Diffstat (limited to 'include/linux/ceph/auth.h')
| -rw-r--r-- | include/linux/ceph/auth.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ceph/auth.h b/include/linux/ceph/auth.h index e931da8424a4..6728c2ee0205 100644 --- a/include/linux/ceph/auth.h +++ b/include/linux/ceph/auth.h | |||
| @@ -64,6 +64,10 @@ struct ceph_auth_client_ops { | |||
| 64 | /* ensure that an existing authorizer is up to date */ | 64 | /* ensure that an existing authorizer is up to date */ |
| 65 | int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type, | 65 | int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type, |
| 66 | struct ceph_auth_handshake *auth); | 66 | struct ceph_auth_handshake *auth); |
| 67 | int (*add_authorizer_challenge)(struct ceph_auth_client *ac, | ||
| 68 | struct ceph_authorizer *a, | ||
| 69 | void *challenge_buf, | ||
| 70 | int challenge_buf_len); | ||
| 67 | int (*verify_authorizer_reply)(struct ceph_auth_client *ac, | 71 | int (*verify_authorizer_reply)(struct ceph_auth_client *ac, |
| 68 | struct ceph_authorizer *a); | 72 | struct ceph_authorizer *a); |
| 69 | void (*invalidate_authorizer)(struct ceph_auth_client *ac, | 73 | void (*invalidate_authorizer)(struct ceph_auth_client *ac, |
| @@ -118,6 +122,10 @@ void ceph_auth_destroy_authorizer(struct ceph_authorizer *a); | |||
| 118 | extern int ceph_auth_update_authorizer(struct ceph_auth_client *ac, | 122 | extern int ceph_auth_update_authorizer(struct ceph_auth_client *ac, |
| 119 | int peer_type, | 123 | int peer_type, |
| 120 | struct ceph_auth_handshake *a); | 124 | struct ceph_auth_handshake *a); |
| 125 | int ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac, | ||
| 126 | struct ceph_authorizer *a, | ||
| 127 | void *challenge_buf, | ||
| 128 | int challenge_buf_len); | ||
| 121 | extern int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, | 129 | extern int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, |
| 122 | struct ceph_authorizer *a); | 130 | struct ceph_authorizer *a); |
| 123 | extern void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, | 131 | extern void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, |
