key.append(id);
}
-static int log_index_operation(cls_method_context_t hctx, cls_rgw_obj_key& obj_key, RGWModifyOp op,
- string& tag, real_time& timestamp,
- rgw_bucket_entry_ver& ver, RGWPendingState state, uint64_t index_ver,
+static int log_index_operation(cls_method_context_t hctx, const cls_rgw_obj_key& obj_key,
+ RGWModifyOp op, const string& tag, real_time timestamp,
+ const rgw_bucket_entry_ver& ver, RGWPendingState state, uint64_t index_ver,
string& max_marker, uint16_t bilog_flags, string *owner, string *owner_display_name, rgw_zone_set *zones_trace)
{
bufferlist bl;
return write_bucket_header(hctx, &header);
}
-static int read_key_entry(cls_method_context_t hctx, cls_rgw_obj_key& key,
+static int read_key_entry(cls_method_context_t hctx, const cls_rgw_obj_key& key,
string *idx, rgw_bucket_dir_entry *entry,
bool special_delete_marker_name = false);
return 0;
}
-static int read_key_entry(cls_method_context_t hctx, cls_rgw_obj_key& key,
+static int read_key_entry(cls_method_context_t hctx, const cls_rgw_obj_key& key,
string *idx, rgw_bucket_dir_entry *entry,
bool special_delete_marker_name)
{