diff options
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r-- | src/rgw/rgw_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 3a01e2ab49c..a5aa97cce47 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -353,11 +353,13 @@ public: } int check_cap(const string& cap, uint32_t perm); void dump(Formatter *f) const; + void dump(Formatter *f, const char *name) const; void decode_json(JSONObj *obj); }; WRITE_CLASS_ENCODER(RGWUserCaps); +void encode_json(const char *name, const RGWUserCaps& val, Formatter *f); struct RGWUserInfo { |