bool allow_all;
bufferlist caps;
- void encode(bufferlist& bl) const {
+ AuthCapsInfo() : allow_all(false) {}
+
+ void encode(bufferlist& bl) const {
uint32_t a = (uint32_t)allow_all;
::encode(a, bl);
::encode(caps, bl);
AuthCapsInfo caps;
__u32 flags;
- AuthTicket() : flags(0) {}
+ AuthTicket() : global_id(0), flags(0) {}
void init_timestamps(utime_t now, double ttl) {
created = now;
map<uint64_t, ExpiringCryptoKey> secrets;
version_t max_ver;
+ RotatingSecrets() : max_ver(0) {}
+
void encode(bufferlist& bl) const {
::encode(secrets, bl);
::encode(max_ver, bl);