Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
auth_x.h
Go to the documentation of this file.
1 #ifndef _FS_CEPH_AUTH_X_H
2 #define _FS_CEPH_AUTH_X_H
3 
4 #include <linux/rbtree.h>
5 
6 #include <linux/ceph/auth.h>
7 
8 #include "crypto.h"
9 #include "auth_x_protocol.h"
10 
11 /*
12  * Handle ticket for a single service.
13  */
15  struct rb_node node;
16  unsigned int service;
17 
20 
23 
24  unsigned long renew_after, expires;
25 };
26 
27 
29  struct ceph_buffer *buf;
30  unsigned int service;
32  char reply_buf[128]; /* big enough for encrypted blob */
33 };
34 
35 struct ceph_x_info {
37 
38  bool starting;
40 
41  unsigned int have_keys;
43 
45 };
46 
47 extern int ceph_x_init(struct ceph_auth_client *ac);
48 
49 #endif
50