aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/auth.h')
-rw-r--r--fs/ceph/auth.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ceph/auth.h b/fs/ceph/auth.h
index ca4f57cfb267..d38a2fb4a137 100644
--- a/fs/ceph/auth.h
+++ b/fs/ceph/auth.h
@@ -15,6 +15,8 @@ struct ceph_auth_client;
15struct ceph_authorizer; 15struct ceph_authorizer;
16 16
17struct ceph_auth_client_ops { 17struct ceph_auth_client_ops {
18 const char *name;
19
18 /* 20 /*
19 * true if we are authenticated and can connect to 21 * true if we are authenticated and can connect to
20 * services. 22 * services.
@@ -22,6 +24,12 @@ struct ceph_auth_client_ops {
22 int (*is_authenticated)(struct ceph_auth_client *ac); 24 int (*is_authenticated)(struct ceph_auth_client *ac);
23 25
24 /* 26 /*
27 * true if we should (re)authenticate, e.g., when our tickets
28 * are getting old and crusty.
29 */
30 int (*should_authenticate)(struct ceph_auth_client *ac);
31
32 /*
25 * build requests and process replies during monitor 33 * build requests and process replies during monitor
26 * handshake. if handle_reply returns -EAGAIN, we build 34 * handshake. if handle_reply returns -EAGAIN, we build
27 * another request. 35 * another request.