diff options
Diffstat (limited to 'fs/ceph/auth.h')
-rw-r--r-- | fs/ceph/auth.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ceph/auth.h b/fs/ceph/auth.h index 4d8cdf6bb3b6..ca4f57cfb267 100644 --- a/fs/ceph/auth.h +++ b/fs/ceph/auth.h | |||
@@ -42,6 +42,8 @@ struct ceph_auth_client_ops { | |||
42 | struct ceph_authorizer *a, size_t len); | 42 | struct ceph_authorizer *a, size_t len); |
43 | void (*destroy_authorizer)(struct ceph_auth_client *ac, | 43 | void (*destroy_authorizer)(struct ceph_auth_client *ac, |
44 | struct ceph_authorizer *a); | 44 | struct ceph_authorizer *a); |
45 | void (*invalidate_authorizer)(struct ceph_auth_client *ac, | ||
46 | int peer_type); | ||
45 | 47 | ||
46 | /* reset when we (re)connect to a monitor */ | 48 | /* reset when we (re)connect to a monitor */ |
47 | void (*reset)(struct ceph_auth_client *ac); | 49 | void (*reset)(struct ceph_auth_client *ac); |
@@ -74,4 +76,9 @@ extern int ceph_handle_auth_reply(struct ceph_auth_client *ac, | |||
74 | void *reply_buf, size_t reply_len); | 76 | void *reply_buf, size_t reply_len); |
75 | extern int ceph_entity_name_encode(const char *name, void **p, void *end); | 77 | extern int ceph_entity_name_encode(const char *name, void **p, void *end); |
76 | 78 | ||
79 | extern int ceph_build_auth(struct ceph_auth_client *ac, | ||
80 | void *msg_buf, size_t msg_len); | ||
81 | |||
82 | extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac); | ||
83 | |||
77 | #endif | 84 | #endif |