-s3_open(const char * access_key, const char *secret_key, const char * user_token,
- const char * bucket_location);
+s3_open(const char * access_key, const char *secret_key,
+ const char *swift_account_id, const char *swift_access_key,
+ const char *host,
+ const char *service_path, gboolean use_subdomain,
+ const char * user_token,
+ const char * bucket_location, const char * storage_class,
+ const char * ca_info, const char * server_side_encryption,
+ const char *proxy,
+ const S3_api s3_api,
+ const char *username,
+ const char *password,
+ const char *tenant_id,
+ const char *tenant_name,
+ const char *client_id,
+ const char *client_secret,
+ const char *refresh_token,
+ const gboolean reuse_connection,
+ const char *reps,
+ const char *reps_bucket);
+
+/* latest step of setting up the S3Handle.
+ *
+ * Must be done after all properties are set.
+ *
+ * @param hdl: the S3Handle to set up.
+ * @returns: false if an error occured
+ */
+gboolean
+s3_open2(S3Handle *hdl);