}
ctx.caller = "S3_put_object";
- S3_put_object(&s3ctx, cloud_fname, ctx.obj_len, NULL, NULL,
+ S3_put_object(&s3ctx, cloud_fname, ctx.obj_len, NULL, NULL, 0,
&putObjectHandler, &ctx);
get_out:
ctx.caller = "S3_get_object";
S3_get_object(&s3ctx, cloud_fname, &getConditions, startByte,
- byteCount, 0, &getObjectHandler, &ctx);
+ byteCount, NULL, 0, &getObjectHandler, &ctx);
if (fclose(ctx.outfile) < 0) {
berrno be;
make_cloud_filename(cloud_fname, VolumeName, i);
Dmsg1(dbglvl, "Object to truncate: %s\n", cloud_fname);
ctx.caller = "S3_delete_object";
- S3_delete_object(&s3ctx, cloud_fname, 0, &responseHandler, &ctx);
+ S3_delete_object(&s3ctx, cloud_fname, NULL, 0, &responseHandler, &ctx);
if (ctx.status != S3StatusOK) {
/* error message should have been filled within response cb */
goto get_out;
ctx.caller = "S3_list_bucket";
while (ctx.isTruncated!=0) {
ctx.isTruncated = 0;
- S3_list_bucket(&s3ctx, VolumeName, ctx.nextMarker, NULL, 0, NULL,
+ S3_list_bucket(&s3ctx, VolumeName, ctx.nextMarker, NULL, 0, NULL, 0,
&partslistBucketHandler, &ctx);
if (ctx.status != S3StatusOK) {
pm_strcpy(err, S3Errors[ctx.status]);
ctx.caller = "S3_list_bucket";
while (ctx.isTruncated!=0) {
ctx.isTruncated = 0;
- S3_list_bucket(&s3ctx, NULL, ctx.nextMarker, "/", 0, NULL,
+ S3_list_bucket(&s3ctx, NULL, ctx.nextMarker, "/", 0, NULL, 0,
&volumeslistBucketHandler, &ctx);
if (ctx.status != S3StatusOK) {
break;