Lines Matching defs:ceph_auth_client

15 struct ceph_auth_client;
39 int (*is_authenticated)(struct ceph_auth_client *ac);
45 int (*should_authenticate)(struct ceph_auth_client *ac);
52 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
53 int (*handle_reply)(struct ceph_auth_client *ac, u64 global_id,
62 int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
65 int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type,
67 int (*add_authorizer_challenge)(struct ceph_auth_client *ac,
71 int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
76 void (*invalidate_authorizer)(struct ceph_auth_client *ac,
80 void (*reset)(struct ceph_auth_client *ac);
82 void (*destroy)(struct ceph_auth_client *ac);
90 struct ceph_auth_client {
107 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id);
109 struct ceph_auth_client *ceph_auth_init(const char *name,
112 extern void ceph_auth_destroy(struct ceph_auth_client *ac);
114 extern void ceph_auth_reset(struct ceph_auth_client *ac);
116 extern int ceph_auth_build_hello(struct ceph_auth_client *ac,
118 extern int ceph_handle_auth_reply(struct ceph_auth_client *ac,
123 extern int ceph_build_auth(struct ceph_auth_client *ac,
125 extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac);
127 int __ceph_auth_get_authorizer(struct ceph_auth_client *ac,
132 int ceph_auth_add_authorizer_challenge(struct ceph_auth_client *ac,
136 int ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac,
141 extern void ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac,
161 int ceph_auth_get_request(struct ceph_auth_client *ac, void *buf, int buf_len);
162 int ceph_auth_handle_reply_more(struct ceph_auth_client *ac, void *reply,
164 int ceph_auth_handle_reply_done(struct ceph_auth_client *ac,
168 bool ceph_auth_handle_bad_method(struct ceph_auth_client *ac,
173 int ceph_auth_get_authorizer(struct ceph_auth_client *ac,
176 int ceph_auth_handle_svc_reply_more(struct ceph_auth_client *ac,
180 int ceph_auth_handle_svc_reply_done(struct ceph_auth_client *ac,
185 bool ceph_auth_handle_bad_authorizer(struct ceph_auth_client *ac,