Lines Matching refs:ceph_auth_client
14 struct ceph_auth_client;
24 int (*is_authenticated)(struct ceph_auth_client *ac);
30 int (*should_authenticate)(struct ceph_auth_client *ac);
37 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
38 int (*handle_reply)(struct ceph_auth_client *ac, int result,
45 int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
49 int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
51 void (*destroy_authorizer)(struct ceph_auth_client *ac,
53 void (*invalidate_authorizer)(struct ceph_auth_client *ac,
57 void (*reset)(struct ceph_auth_client *ac);
59 void (*destroy)(struct ceph_auth_client *ac);
62 struct ceph_auth_client {
74 extern struct ceph_auth_client *ceph_auth_init(const char *name,
76 extern void ceph_auth_destroy(struct ceph_auth_client *ac);
78 extern void ceph_auth_reset(struct ceph_auth_client *ac);
80 extern int ceph_auth_build_hello(struct ceph_auth_client *ac,
82 extern int ceph_handle_auth_reply(struct ceph_auth_client *ac,
87 extern int ceph_build_auth(struct ceph_auth_client *ac,
90 extern int ceph_auth_is_authenticated(struct ceph_auth_client *ac);