24 #include <sys/types.h> 25 #include <curl/curl.h> 26 #include <libxml/parser.h> 27 #include <libxml/xmlmemory.h> 43 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) 84 return "IMPORT_PENDING";
86 return "IMPORT_IN_PROGRESS";
108 return "ONLINE_PENDING";
110 return "ONLINE_IN_PROGRESS";
112 return "PENDING_INSPECTION";
116 return "DATA_CHECKPOINT_FAILURE";
118 return "DATA_CHECKPOINT_FAILURE_DUE_TO_READ_ONLY";
120 return "DATA_CHECKPOINT_MISSING";
122 return "LTFS_WITH_FOREIGN_DATA";
126 return "IMPORT_PENDING";
128 return "IMPORT_IN_PROGRESS";
130 return "INCOMPATIBLE";
136 return "SERIAL_NUMBER_MISMATCH";
138 return "BAR_CODE_MISSING";
140 return "FORMAT_PENDING";
142 return "FORMAT_IN_PROGRESS";
144 return "EJECT_TO_EE_IN_PROGRESS";
146 return "EJECT_FROM_EE_PENDING";
162 return "LTO_CLEANING_TAPE";
176 return "TS_CLEANING_TAPE";
202 return "ACCEPT_MOST_RECENT";
204 return "ACCEPT_HIGHEST_VERSION";
206 return "ACCEPT_IMPORT";
208 return "ACCEPT_EXISTING";
218 return "DISCOURAGED";
230 return "BUCKET_ISOLATED";
232 return "SECURE_BUCKET_ISOLATED";
288 return "KEEP_LATEST";
298 return "INCLUSION_IN_PROGRESS";
330 return "ACCEPT_SOURCE";
332 return "ACCEPT_TARGET";
334 return "ACCEPT_MOST_RECENT";
354 return "CONCAT_LOWERCASE";
358 return "UNDERSCORED";
360 return "CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE";
362 return "CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE";
396 return "BLOB_READ_FAILED";
398 return "DATA_CHECKPOINT_FAILURE";
400 return "DATA_CHECKPOINT_MISSING";
402 return "FORMAT_FAILED";
404 return "IMPORT_FAILED";
406 return "IMPORT_FAILED_DUE_TO_TAKE_OWNERSHIP_FAILURE";
408 return "IMPORT_FAILED_DUE_TO_DATA_INTEGRITY";
410 return "INSPECT_FAILED";
414 return "READ_FAILED";
416 return "VERIFY_FAILED";
418 return "WRITE_FAILED";
444 return "NEVER_SELECT";
452 return "OBJECT_NAME";
464 return "PERFORMANCE";
472 return "ILLEGAL_EJECTION_OCCURRED";
474 return "MEMBER_BECAME_READ_ONLY";
476 return "WRITES_STALLED_DUE_TO_NO_FREE_MEDIA_REMAINING";
486 return "EXCLUSION_IN_PROGRESS";
494 return "RECONCILE_TAPE_ENVIRONMENT_FAILED";
496 return "RECONCILE_POOL_ENVIRONMENT_FAILED";
528 return "NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES";
536 return "BAR_CODE_CHANGED";
538 return "BAR_CODE_DUPLICATE";
540 return "BLOB_READ_FAILED";
542 return "DATA_CHECKPOINT_FAILURE";
544 return "DATA_CHECKPOINT_FAILURE_DUE_TO_READ_ONLY";
546 return "DATA_CHECKPOINT_MISSING";
548 return "DELAYED_OWNERSHIP_FAILURE";
550 return "DRIVE_CLEAN_FAILED";
552 return "DRIVE_CLEANED";
554 return "FORMAT_FAILED";
556 return "GET_TAPE_INFORMATION_FAILED";
558 return "IMPORT_FAILED";
560 return "IMPORT_FAILED_DUE_TO_TAKE_OWNERSHIP_FAILURE";
562 return "IMPORT_FAILED_DUE_TO_DATA_INTEGRITY";
564 return "INSPECT_FAILED";
566 return "READ_FAILED";
568 return "REIMPORT_REQUIRED";
570 return "SERIAL_NUMBER_MISMATCH";
572 return "VERIFY_FAILED";
574 return "WRITE_FAILED";
582 return "CLEANING_TAPE_REQUIRED";
584 return "DUPLICATE_TAPE_BAR_CODES_DETECTED";
586 return "EJECT_STALLED_DUE_TO_OFFLINE_TAPES";
588 return "MINIMUM_DRIVE_COUNT_NOT_MET";
590 return "MOVE_FAILED";
592 return "MOVE_FAILED_DUE_TO_PREPARE_TAPE_FOR_REMOVAL_FAILURE";
594 return "NO_USABLE_DRIVES";
596 return "ONLINE_STALLED_DUE_TO_NO_STORAGE_SLOTS";
598 return "TAPE_DRIVE_IN_ERROR";
600 return "TAPE_DRIVE_MISSING";
602 return "TAPE_DRIVE_TYPE_MISMATCH";
604 return "TAPE_EJECTION_BY_OPERATOR_REQUIRED";
606 return "TAPE_MEDIA_TYPE_INCOMPATIBLE";
616 return "NOT_SUPPORTED";
636 struct _ds3_metadata {
637 GHashTable* metadata;
642 if (pointer == NULL) {
659 GPtrArray* values = g_ptr_array_new();
666 for (i = 0; i < num_values; i++) {
668 g_ptr_array_add(values, header_value);
676 response->
name = key_name;
677 response->
values = (
ds3_str**) g_ptr_array_free(values, FALSE);
678 fprintf(stderr,
"creating metadata entry of: %s\n", key_name->
value);
689 struct _ds3_metadata* metadata = g_new0(
struct _ds3_metadata, 1);
691 gpointer _key, _value;
696 if (response_headers == NULL) {
697 fprintf(stderr,
"response headers was null\n");
701 while(g_hash_table_iter_next(&iter, &_key, &_value)) {
703 if (g_str_has_prefix(key->
value,
"x-amz-meta-")) {
706 g_hash_table_insert(metadata->metadata, g_strdup(entry->
name->
value), entry);
719 struct _ds3_metadata* metadata = (
struct _ds3_metadata*) _metadata;
721 if (_metadata == NULL) {
738 copy->
values = metadata_copy;
744 struct _ds3_metadata* metadata = (
struct _ds3_metadata*) _metadata;
745 if (metadata == NULL) {
748 return g_hash_table_size(metadata->metadata);
752 GPtrArray* return_keys;
754 struct _ds3_metadata* metadata;
758 if (_metadata == NULL) {
762 return_keys = g_ptr_array_new();
764 metadata = (
struct _ds3_metadata*) _metadata;
765 keys = g_hash_table_get_keys(metadata->metadata);
768 while(tmp_key != NULL) {
769 g_ptr_array_add(return_keys,
ds3_str_init((
char*)tmp_key->data));
770 tmp_key = tmp_key->next;
774 result->
num_keys = return_keys->len;
775 result->
keys = (
ds3_str**) g_ptr_array_free(return_keys, FALSE);
789 struct _ds3_metadata* metadata;
790 if (_metadata == NULL)
return;
792 metadata = (
struct _ds3_metadata*) _metadata;
794 if (metadata->metadata == NULL)
return;
796 g_hash_table_destroy(metadata->metadata);
804 if (entry->
name != NULL) {
807 if (entry->
values != NULL) {
808 for (value_index = 0; value_index < entry->
num_values; value_index++) {
809 value = entry->
values[value_index];
819 if (metadata_keys == NULL) {
823 if (metadata_keys->
keys != NULL) {
824 for (key_index = 0; key_index < metadata_keys->
num_keys; key_index++) {
827 g_free(metadata_keys->
keys);
829 g_free(metadata_keys);
833 if (client == NULL) {
834 fprintf(stderr,
"Cannot configure a null ds3_client for logging.\n");
837 if (client->
log != NULL) {
850 if (access_id == NULL || secret_key == NULL) {
851 fprintf(stderr,
"Arguments cannot be NULL\n");
864 void* read_user_struct,
865 size_t (*read_handler_func)(
void*,
size_t,
size_t,
void*),
866 void* write_user_struct,
867 size_t (*write_handler_func)(
void*,
size_t,
size_t,
void*),
869 if (client == NULL) {
870 fprintf(stderr,
"Cannot configure a null ds3_client for net_callback.\n");
879 if (endpoint == NULL) {
880 fprintf(stderr,
"Null endpoint\n");
886 client->
creds = creds;
897 char* endpoint = getenv(
"DS3_ENDPOINT");
898 char* access_key = getenv(
"DS3_ACCESS_KEY");
899 char* secret_key = getenv(
"DS3_SECRET_KEY");
900 char* http_proxy = getenv(
"http_proxy");
902 if (endpoint == NULL) {
906 if (access_key == NULL) {
910 if (secret_key == NULL) {
917 if (http_proxy != NULL) {
941 if (client == NULL) {
947 if (client->
log != NULL) {
977 ds3_xml_send_buff* xml_buff;
979 xml_buff = (ds3_xml_send_buff*) user_data;
980 to_read = size * nmemb;
981 remaining = xml_buff->size - xml_buff->total_read;
983 if (remaining < to_read) {
987 strncpy((
char*)buffer, xml_buff->buff + xml_buff->total_read, to_read);
988 xml_buff->total_read += to_read;
992 static void _set_map_value(GHashTable* map,
const char* key,
const char* value) {
993 gpointer escaped_key = (gpointer)
escape_url(key);
996 gpointer escaped_value;
998 if (g_strcmp0(key,
"Range") == 0) {
1001 escaped_value = (gpointer)
escape_url(value);
1004 escaped_value = NULL;
1006 g_hash_table_insert(map, escaped_key, escaped_value);
1019 char* prefixed_name = g_strconcat(
"x-amz-meta-", name, NULL);
1023 g_free(prefixed_name);
1027 g_hash_table_remove(_request->
headers,
"Range");
1033 gpointer header_value = g_hash_table_lookup(_request->
headers,
"Range");
1034 if (header_value != NULL) {
1035 range_value = g_strdup_printf(
"%s,%ld-%ld", (
char*)header_value, rangeStart, rangeEnd);
1037 range_value = g_strdup_printf(
"bytes=%ld-%ld", rangeStart, rangeEnd);
1041 g_free(range_value);
1080 if (value ==
False) {
1081 g_hash_table_remove(_request->
headers, key);
1089 memset(string_buffer, 0,
sizeof(string_buffer));
1090 snprintf(string_buffer,
sizeof(string_buffer),
"%lu", value);
1096 memset(string_buffer, 0,
sizeof(string_buffer));
1097 snprintf(string_buffer,
sizeof(string_buffer),
"%d", value);
1103 memset(string_buffer, 0,
sizeof(string_buffer));
1104 snprintf(string_buffer,
sizeof(string_buffer),
"%f", value);
1634 ds3_str* buildPathArgs = NULL;
1635 char* escaped_bucket_name = NULL;
1636 char* escaped_object_name = NULL;
1637 char* joined_path = NULL;
1638 char* full_path = NULL;
1640 if (bucket_name != NULL) {
1641 if (g_str_has_suffix(bucket_name,
"/") == TRUE) {
1642 char* chomp_bucket = g_strndup(bucket_name, strlen(bucket_name)-1);
1643 escaped_bucket_name =
escape_url(chomp_bucket);
1644 g_free(chomp_bucket);
1646 escaped_bucket_name =
escape_url(bucket_name);
1649 if (object_name != NULL) {
1653 joined_path = g_strjoin(
"/", escaped_bucket_name, escaped_object_name, NULL);
1654 full_path = g_strconcat(path_prefix, joined_path, NULL);
1655 g_free(joined_path);
1660 if (escaped_bucket_name != NULL) {
1661 g_free(escaped_bucket_name);
1663 if (escaped_object_name != NULL) {
1664 g_free(escaped_object_name);
1667 return buildPathArgs;
1672 if (upload_id != NULL) {
1679 if (upload_id != NULL) {
1693 sprintf(tmp_buff,
"%d", part_number);
1696 if (upload_id != NULL) {
1753 if (upload_id != NULL) {
1766 if (bucket_id != NULL) {
1769 if (group_id != NULL) {
1778 if (bucket_id != NULL) {
1783 if (user_id != NULL) {
1790 if (data_policy_id != NULL) {
1793 if (group_id != NULL) {
1800 if (data_policy_id != NULL) {
1803 if (user_id != NULL) {
1810 if (group_id != NULL) {
1821 if (user_id != NULL) {
1828 if (group_id != NULL) {
1835 if (user_id != NULL) {
1911 if (bucket_id != NULL) {
1914 if (storage_domain_id != NULL) {
1921 if (storage_domain_id != NULL) {
1944 if (data_policy_id != NULL) {
1949 if (storage_domain_id != NULL) {
2005 if (group_id != NULL) {
2008 if (member_group_id != NULL) {
2022 if (group_id != NULL) {
2025 if (member_user_id != NULL) {
2157 if (payload != NULL) {
2176 if (notification_end_point != NULL) {
2183 if (notification_end_point != NULL) {
2190 if (notification_end_point != NULL) {
2197 if (notification_end_point != NULL) {
2204 if (notification_end_point != NULL) {
2211 if (notification_end_point != NULL) {
2218 if (notification_end_point != NULL) {
2225 if (notification_end_point != NULL) {
2232 if (notification_end_point != NULL) {
2239 if (notification_end_point != NULL) {
2366 if (bucket_id != NULL) {
2375 if (bucket_id != NULL) {
2559 if (pool_partition_id != NULL) {
2562 if (storage_domain_id != NULL) {
2576 if (storage_domain_id != NULL) {
2579 if (tape_partition_id != NULL) {
2696 if (partition_id != NULL) {
2737 if (bucket_id != NULL) {
2742 if (storage_domain_id != NULL) {
2753 if (storage_domain_id != NULL) {
2941 static bool attribute_equal(
const struct _xmlAttr* attribute,
const char* attribute_name) {
2942 return xmlStrcmp(attribute->name, (
const xmlChar*) attribute_name) == 0;
2945 static bool element_equal(
const xmlNodePtr xml_node,
const char* element_name) {
2946 return xmlStrcmp(xml_node->name, (
const xmlChar*) element_name) == 0;
2952 text = xmlNodeListGetString(doc, child_node->xmlChildrenNode, 1);
2956 size = atoi((
char*)text);
2968 text = xmlNodeListGetString(doc, child_node->xmlChildrenNode, 1);
2972 size = g_ascii_strtoull((
const char*)text, NULL, 10);
2984 text = xmlNodeListGetString(doc, child_node->xmlChildrenNode, 1);
3001 text = xmlNodeListGetString(doc, xml_node->xmlChildrenNode, 1);
3002 if (xmlStrcmp(text, (xmlChar*)
"true") == 0) {
3004 }
else if (xmlStrcmp(text, (xmlChar*)
"false") == 0) {
3022 void* read_user_struct,
3023 size_t (*read_handler_func)(
void*,
size_t,
size_t,
void*),
3024 void* write_user_struct,
3025 size_t (*write_handler_func)(
void*,
size_t,
size_t,
void*),
3027 if (client == NULL || request == NULL) {
3030 return net_process_request(client, request, read_user_struct, read_handler_func, write_user_struct, write_handler_func, return_headers);
3034 int num_matches = 0;
3037 for (index = 0; index < str->
size; index++) {
3038 if (str->
value[index] ==
'/') {
3047 GByteArray* xml_blob,
3050 char* root_element_name) {
3053 xmlDocPtr doc = xmlParseMemory((
const char*) xml_blob->data, xml_blob->len);
3055 char* message = g_strconcat(
"Failed to parse response document. The actual response is: ", xml_blob->data, NULL);
3056 g_byte_array_free(xml_blob, TRUE);
3062 root = xmlDocGetRootElement(doc);
3064 char* message = g_strconcat(
"Expected the root element to be '", root_element_name,
"'. The actual response is: ", xml_blob->data, NULL);
3066 g_byte_array_free(xml_blob, TRUE);
3075 g_byte_array_free(xml_blob, TRUE);
3079 #define LENGTH_BUFF_SIZE 21 3085 xmlNodePtr objects_node, object_node;
3089 doc = xmlNewDoc((xmlChar*)
"1.0");
3090 objects_node = xmlNewNode(NULL, (xmlChar*)
"Objects");
3100 object_node = xmlNewNode(NULL, (xmlChar*)
"Object");
3101 xmlAddChild(objects_node, object_node);
3103 xmlSetProp(object_node, (xmlChar*)
"Name", (xmlChar*) obj->
name->
value);
3105 xmlSetProp(object_node, (xmlChar*)
"Size", (xmlChar*) size_buff);
3109 xmlDocSetRootElement(doc, objects_node);
3118 xmlNodePtr parts_node, part_node;
3122 doc = xmlNewDoc((xmlChar*)
"1.0");
3123 parts_node = xmlNewNode(NULL, (xmlChar*)
"CompleteMultipartUpload");
3125 for (part_num = 0; part_num < mpu_list->
num_parts; part_num++) {
3126 part = mpu_list->
parts[part_num];
3128 part_node = xmlNewNode(NULL, (xmlChar*)
"Part");
3129 xmlAddChild(parts_node, part_node);
3132 xmlNewTextChild(part_node, NULL, (xmlChar*)
"PartNumber", (xmlChar*) size_buff);
3134 xmlNewTextChild(part_node, NULL, (xmlChar*)
"ETag", (xmlChar*) part->
etag->
value);
3137 xmlDocSetRootElement(doc, parts_node);
3144 xmlNodePtr del_node, obj_node;
3148 doc = xmlNewDoc((xmlChar*)
"1.0");
3149 del_node = xmlNewNode(NULL, (xmlChar*)
"Delete");
3151 for (key_num = 0; key_num < keys_list->
num_strings; key_num++) {
3154 obj_node = xmlNewNode(NULL, (xmlChar*)
"Object");
3155 xmlAddChild(del_node, obj_node);
3157 xmlNewTextChild(obj_node, NULL, (xmlChar*)
"Key", (xmlChar*) key->
value);
3160 xmlDocSetRootElement(doc, del_node);
3165 ds3_xml_send_buff* send_buff,
3166 const object_list_type operation_type) {
3172 memset(send_buff, 0,
sizeof(ds3_xml_send_buff));
3174 switch(operation_type) {
3202 request->
length = send_buff->size;
3210 xmlDocDumpFormatMemory(doc, (xmlChar**) &send_buff->buff, (
int*) &send_buff->size, 1);
3211 request->
length = send_buff->size;
3220 if (xmlStrcmp(text, (
const xmlChar*)
"NEVER") == 0) {
3222 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MINIMAL") == 0) {
3224 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DEFAULT") == 0) {
3227 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_AUTO_INSPECT_MODE_NEVER for safety.", text);
3232 if (xmlStrcmp(text, (
const xmlChar*)
"CRITICAL") == 0) {
3234 }
else if (xmlStrcmp(text, (
const xmlChar*)
"URGENT") == 0) {
3236 }
else if (xmlStrcmp(text, (
const xmlChar*)
"HIGH") == 0) {
3238 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3240 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LOW") == 0) {
3242 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BACKGROUND") == 0) {
3245 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_PRIORITY_CRITICAL for safety.", text);
3250 if (xmlStrcmp(text, (
const xmlChar*)
"LIST") == 0) {
3252 }
else if (xmlStrcmp(text, (
const xmlChar*)
"READ") == 0) {
3254 }
else if (xmlStrcmp(text, (
const xmlChar*)
"WRITE") == 0) {
3256 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DELETE") == 0) {
3258 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JOB") == 0) {
3260 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OWNER") == 0) {
3263 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_BUCKET_ACL_PERMISSION_LIST for safety.", text);
3268 if (xmlStrcmp(text, (
const xmlChar*)
"STANDARD") == 0) {
3270 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BUCKET_ISOLATED") == 0) {
3272 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SECURE_BUCKET_ISOLATED") == 0) {
3275 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_DATA_ISOLATION_LEVEL_STANDARD for safety.", text);
3280 if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3282 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INCLUSION_IN_PROGRESS") == 0) {
3285 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_DATA_PERSISTENCE_RULE_STATE_NORMAL for safety.", text);
3290 if (xmlStrcmp(text, (
const xmlChar*)
"PERMANENT") == 0) {
3292 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TEMPORARY") == 0) {
3294 }
else if (xmlStrcmp(text, (
const xmlChar*)
"RETIRED") == 0) {
3297 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_DATA_PERSISTENCE_RULE_TYPE_PERMANENT for safety.", text);
3302 if (xmlStrcmp(text, (
const xmlChar*)
"NONE") == 0) {
3304 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IN_ORDER") == 0) {
3307 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_JOB_CHUNK_CLIENT_PROCESSING_ORDER_GUARANTEE_NONE for safety.", text);
3312 if (xmlStrcmp(text, (
const xmlChar*)
"PUT") == 0) {
3314 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GET") == 0) {
3316 }
else if (xmlStrcmp(text, (
const xmlChar*)
"VERIFY") == 0) {
3319 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_JOB_REQUEST_TYPE_PUT for safety.", text);
3324 if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT_NAME") == 0) {
3326 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT_ID") == 0) {
3329 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_LTFS_FILE_NAMING_MODE_OBJECT_NAME for safety.", text);
3334 if (xmlStrcmp(text, (
const xmlChar*)
"DATA") == 0) {
3336 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FOLDER") == 0) {
3339 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_S3_OBJECT_TYPE_DATA for safety.", text);
3344 if (xmlStrcmp(text, (
const xmlChar*)
"ILLEGAL_EJECTION_OCCURRED") == 0) {
3346 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MEMBER_BECAME_READ_ONLY") == 0) {
3348 }
else if (xmlStrcmp(text, (
const xmlChar*)
"WRITES_STALLED_DUE_TO_NO_FREE_MEDIA_REMAINING") == 0) {
3351 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_STORAGE_DOMAIN_FAILURE_TYPE_ILLEGAL_EJECTION_OCCURRED for safety.", text);
3356 if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3358 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EXCLUSION_IN_PROGRESS") == 0) {
3361 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_STORAGE_DOMAIN_MEMBER_STATE_NORMAL for safety.", text);
3366 if (xmlStrcmp(text, (
const xmlChar*)
"RECONCILE_TAPE_ENVIRONMENT_FAILED") == 0) {
3368 }
else if (xmlStrcmp(text, (
const xmlChar*)
"RECONCILE_POOL_ENVIRONMENT_FAILED") == 0) {
3371 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_SYSTEM_FAILURE_TYPE_RECONCILE_TAPE_ENVIRONMENT_FAILED for safety.", text);
3376 if (xmlStrcmp(text, (
const xmlChar*)
"ALLOW") == 0) {
3378 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DISCOURAGED") == 0) {
3380 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DISALLOW") == 0) {
3383 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_UNAVAILABLE_MEDIA_USAGE_POLICY_ALLOW for safety.", text);
3388 if (xmlStrcmp(text, (
const xmlChar*)
"NONE") == 0) {
3390 }
else if (xmlStrcmp(text, (
const xmlChar*)
"KEEP_LATEST") == 0) {
3393 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_VERSIONING_LEVEL_NONE for safety.", text);
3398 if (xmlStrcmp(text, (
const xmlChar*)
"CAPACITY") == 0) {
3400 }
else if (xmlStrcmp(text, (
const xmlChar*)
"PERFORMANCE") == 0) {
3403 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_WRITE_OPTIMIZATION_CAPACITY for safety.", text);
3408 if (xmlStrcmp(text, (
const xmlChar*)
"HIGH") == 0) {
3410 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3412 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LOW") == 0) {
3414 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NEVER_SELECT") == 0) {
3417 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_WRITE_PREFERENCE_LEVEL_HIGH for safety.", text);
3422 if (xmlStrcmp(text, (
const xmlChar*)
"BLOB_READ_FAILED") == 0) {
3424 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_FAILURE") == 0) {
3426 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_MISSING") == 0) {
3428 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORMAT_FAILED") == 0) {
3430 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED") == 0) {
3432 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED_DUE_TO_TAKE_OWNERSHIP_FAILURE") == 0) {
3434 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED_DUE_TO_DATA_INTEGRITY") == 0) {
3436 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INSPECT_FAILED") == 0) {
3438 }
else if (xmlStrcmp(text, (
const xmlChar*)
"QUIESCED") == 0) {
3440 }
else if (xmlStrcmp(text, (
const xmlChar*)
"READ_FAILED") == 0) {
3442 }
else if (xmlStrcmp(text, (
const xmlChar*)
"VERIFY_FAILED") == 0) {
3444 }
else if (xmlStrcmp(text, (
const xmlChar*)
"WRITE_FAILED") == 0) {
3447 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_POOL_FAILURE_TYPE_BLOB_READ_FAILED for safety.", text);
3452 if (xmlStrcmp(text, (
const xmlChar*)
"OK") == 0) {
3454 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DEGRADED") == 0) {
3462 if (xmlStrcmp(text, (
const xmlChar*)
"BLANK") == 0) {
3464 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3466 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LOST") == 0) {
3468 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FOREIGN") == 0) {
3470 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_PENDING") == 0) {
3472 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_IN_PROGRESS") == 0) {
3480 if (xmlStrcmp(text, (
const xmlChar*)
"NEARLINE") == 0) {
3482 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE") == 0) {
3485 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_POOL_TYPE_NEARLINE for safety.", text);
3490 if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL") == 0) {
3492 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_MOST_RECENT") == 0) {
3494 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_HIGHEST_VERSION") == 0) {
3496 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_IMPORT") == 0) {
3498 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_EXISTING") == 0) {
3501 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_IMPORT_CONFLICT_RESOLUTION_MODE_CANCEL for safety.", text);
3506 if (xmlStrcmp(text, (
const xmlChar*)
"NO") == 0) {
3508 }
else if (xmlStrcmp(text, (
const xmlChar*)
"PENDING") == 0) {
3510 }
else if (xmlStrcmp(text, (
const xmlChar*)
"YES") == 0) {
3518 if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL") == 0) {
3520 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_SOURCE") == 0) {
3522 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_TARGET") == 0) {
3524 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ACCEPT_MOST_RECENT") == 0) {
3527 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REPLICATION_CONFLICT_RESOLUTION_MODE_CANCEL for safety.", text);
3532 if (xmlStrcmp(text, (
const xmlChar*)
"SUPPORTED") == 0) {
3534 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NOT_SUPPORTED") == 0) {
3537 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_IMPORT_EXPORT_CONFIGURATION_SUPPORTED for safety.", text);
3542 if (xmlStrcmp(text, (
const xmlChar*)
"OFFLINE") == 0) {
3544 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3546 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ERROR") == 0) {
3548 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES") == 0) {
3551 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_DRIVE_STATE_OFFLINE for safety.", text);
3556 if (xmlStrcmp(text, (
const xmlChar*)
"UNKNOWN") == 0) {
3558 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO5") == 0) {
3560 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO6") == 0) {
3562 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO7") == 0) {
3564 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS1140") == 0) {
3566 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS1150") == 0) {
3569 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_DRIVE_TYPE_UNKNOWN for safety.", text);
3574 if (xmlStrcmp(text, (
const xmlChar*)
"BAR_CODE_CHANGED") == 0) {
3576 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BAR_CODE_DUPLICATE") == 0) {
3578 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BLOB_READ_FAILED") == 0) {
3580 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_FAILURE") == 0) {
3582 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_FAILURE_DUE_TO_READ_ONLY") == 0) {
3584 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_MISSING") == 0) {
3586 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DELAYED_OWNERSHIP_FAILURE") == 0) {
3588 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DRIVE_CLEAN_FAILED") == 0) {
3590 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DRIVE_CLEANED") == 0) {
3592 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORMAT_FAILED") == 0) {
3594 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GET_TAPE_INFORMATION_FAILED") == 0) {
3596 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED") == 0) {
3598 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED_DUE_TO_TAKE_OWNERSHIP_FAILURE") == 0) {
3600 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_FAILED_DUE_TO_DATA_INTEGRITY") == 0) {
3602 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INSPECT_FAILED") == 0) {
3604 }
else if (xmlStrcmp(text, (
const xmlChar*)
"READ_FAILED") == 0) {
3606 }
else if (xmlStrcmp(text, (
const xmlChar*)
"REIMPORT_REQUIRED") == 0) {
3608 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SERIAL_NUMBER_MISMATCH") == 0) {
3610 }
else if (xmlStrcmp(text, (
const xmlChar*)
"VERIFY_FAILED") == 0) {
3612 }
else if (xmlStrcmp(text, (
const xmlChar*)
"WRITE_FAILED") == 0) {
3615 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_FAILURE_TYPE_BAR_CODE_CHANGED for safety.", text);
3620 if (xmlStrcmp(text, (
const xmlChar*)
"CLEANING_TAPE_REQUIRED") == 0) {
3622 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DUPLICATE_TAPE_BAR_CODES_DETECTED") == 0) {
3624 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EJECT_STALLED_DUE_TO_OFFLINE_TAPES") == 0) {
3626 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MINIMUM_DRIVE_COUNT_NOT_MET") == 0) {
3628 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MOVE_FAILED") == 0) {
3630 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MOVE_FAILED_DUE_TO_PREPARE_TAPE_FOR_REMOVAL_FAILURE") == 0) {
3632 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NO_USABLE_DRIVES") == 0) {
3634 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE_STALLED_DUE_TO_NO_STORAGE_SLOTS") == 0) {
3636 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_DRIVE_IN_ERROR") == 0) {
3638 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_DRIVE_MISSING") == 0) {
3640 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_DRIVE_TYPE_MISMATCH") == 0) {
3642 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_EJECTION_BY_OPERATOR_REQUIRED") == 0) {
3644 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_MEDIA_TYPE_INCOMPATIBLE") == 0) {
3647 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_PARTITION_FAILURE_TYPE_CLEANING_TAPE_REQUIRED for safety.", text);
3652 if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE") == 0) {
3654 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OFFLINE") == 0) {
3656 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ERROR") == 0) {
3659 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_PARTITION_STATE_ONLINE for safety.", text);
3664 if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
3666 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OFFLINE") == 0) {
3668 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE_PENDING") == 0) {
3670 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE_IN_PROGRESS") == 0) {
3672 }
else if (xmlStrcmp(text, (
const xmlChar*)
"PENDING_INSPECTION") == 0) {
3674 }
else if (xmlStrcmp(text, (
const xmlChar*)
"UNKNOWN") == 0) {
3676 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_FAILURE") == 0) {
3678 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_FAILURE_DUE_TO_READ_ONLY") == 0) {
3680 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_CHECKPOINT_MISSING") == 0) {
3682 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTFS_WITH_FOREIGN_DATA") == 0) {
3684 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FOREIGN") == 0) {
3686 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_PENDING") == 0) {
3688 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT_IN_PROGRESS") == 0) {
3690 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INCOMPATIBLE") == 0) {
3692 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LOST") == 0) {
3694 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BAD") == 0) {
3696 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SERIAL_NUMBER_MISMATCH") == 0) {
3698 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BAR_CODE_MISSING") == 0) {
3700 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORMAT_PENDING") == 0) {
3702 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORMAT_IN_PROGRESS") == 0) {
3704 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EJECT_TO_EE_IN_PROGRESS") == 0) {
3706 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EJECT_FROM_EE_PENDING") == 0) {
3708 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EJECTED") == 0) {
3711 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_TAPE_STATE_NORMAL for safety.", text);
3716 if (xmlStrcmp(text, (
const xmlChar*)
"LTO5") == 0) {
3718 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO6") == 0) {
3720 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO7") == 0) {
3722 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LTO_CLEANING_TAPE") == 0) {
3724 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JC") == 0) {
3726 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JY") == 0) {
3728 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JK") == 0) {
3730 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JD") == 0) {
3732 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JZ") == 0) {
3734 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_JL") == 0) {
3736 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TS_CLEANING_TAPE") == 0) {
3738 }
else if (xmlStrcmp(text, (
const xmlChar*)
"UNKNOWN") == 0) {
3740 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORBIDDEN") == 0) {
3748 if (xmlStrcmp(text, (
const xmlChar*)
"NOT_READY") == 0) {
3750 }
else if (xmlStrcmp(text, (
const xmlChar*)
"READY") == 0) {
3752 }
else if (xmlStrcmp(text, (
const xmlChar*)
"PENDING_EXECUTION") == 0) {
3754 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IN_PROGRESS") == 0) {
3756 }
else if (xmlStrcmp(text, (
const xmlChar*)
"COMPLETED") == 0) {
3759 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_BLOB_STORE_TASK_STATE_NOT_READY for safety.", text);
3764 if (xmlStrcmp(text, (
const xmlChar*)
"ALLOCATED") == 0) {
3766 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IN_CACHE") == 0) {
3769 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_CACHE_ENTRY_STATE_ALLOCATED for safety.", text);
3774 if (xmlStrcmp(text, (
const xmlChar*)
"IN_PROGRESS") == 0) {
3776 }
else if (xmlStrcmp(text, (
const xmlChar*)
"COMPLETED") == 0) {
3778 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCELED") == 0) {
3781 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_JOB_STATUS_IN_PROGRESS for safety.", text);
3786 if (xmlStrcmp(text, (
const xmlChar*)
"S3_SERVER") == 0) {
3788 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_PLANNER") == 0) {
3791 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_APPLICATION_S3_SERVER for safety.", text);
3796 if (xmlStrcmp(text, (
const xmlChar*)
"BULK_DELETE") == 0) {
3798 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BULK_MODIFY") == 0) {
3800 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CREATE") == 0) {
3802 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DELETE") == 0) {
3804 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LIST") == 0) {
3806 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MODIFY") == 0) {
3808 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SHOW") == 0) {
3811 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REST_ACTION_TYPE_BULK_DELETE for safety.", text);
3816 if (xmlStrcmp(text, (
const xmlChar*)
"ACTIVE_JOB") == 0) {
3818 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BEANS_RETRIEVER") == 0) {
3820 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BLOB_STORE_TASK") == 0) {
3822 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BUCKET") == 0) {
3824 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BUCKET_ACL") == 0) {
3826 }
else if (xmlStrcmp(text, (
const xmlChar*)
"BUCKET_CAPACITY_SUMMARY") == 0) {
3828 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CACHE_FILESYSTEM") == 0) {
3830 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CACHE_STATE") == 0) {
3832 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCELED_JOB") == 0) {
3834 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CAPACITY_SUMMARY") == 0) {
3836 }
else if (xmlStrcmp(text, (
const xmlChar*)
"COMPLETED_JOB") == 0) {
3838 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_PATH") == 0) {
3840 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_PATH_BACKEND") == 0) {
3842 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_PERSISTENCE_RULE") == 0) {
3844 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_POLICY") == 0) {
3846 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DATA_POLICY_ACL") == 0) {
3848 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DEGRADED_BUCKET") == 0) {
3850 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DEGRADED_DATA_PERSISTENCE_RULE") == 0) {
3852 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FOLDER") == 0) {
3854 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GENERIC_DAO_NOTIFICATION_REGISTRATION") == 0) {
3856 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GROUP") == 0) {
3858 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GROUP_MEMBER") == 0) {
3860 }
else if (xmlStrcmp(text, (
const xmlChar*)
"HEAP_DUMP") == 0) {
3862 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JOB") == 0) {
3864 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JOB_CHUNK") == 0) {
3866 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JOB_COMPLETED_NOTIFICATION_REGISTRATION") == 0) {
3868 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JOB_CREATED_NOTIFICATION_REGISTRATION") == 0) {
3870 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NODE") == 0) {
3872 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT") == 0) {
3874 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT_CACHED_NOTIFICATION_REGISTRATION") == 0) {
3876 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT_LOST_NOTIFICATION_REGISTRATION") == 0) {
3878 }
else if (xmlStrcmp(text, (
const xmlChar*)
"OBJECT_PERSISTED_NOTIFICATION_REGISTRATION") == 0) {
3880 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POOL") == 0) {
3882 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POOL_ENVIRONMENT") == 0) {
3884 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POOL_FAILURE") == 0) {
3886 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POOL_FAILURE_NOTIFICATION_REGISTRATION") == 0) {
3888 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POOL_PARTITION") == 0) {
3890 }
else if (xmlStrcmp(text, (
const xmlChar*)
"REQUEST_HANDLER") == 0) {
3892 }
else if (xmlStrcmp(text, (
const xmlChar*)
"REQUEST_HANDLER_CONTRACT") == 0) {
3894 }
else if (xmlStrcmp(text, (
const xmlChar*)
"STORAGE_DOMAIN") == 0) {
3896 }
else if (xmlStrcmp(text, (
const xmlChar*)
"STORAGE_DOMAIN_FAILURE") == 0) {
3898 }
else if (xmlStrcmp(text, (
const xmlChar*)
"STORAGE_DOMAIN_FAILURE_NOTIFICATION_REGISTRATION") == 0) {
3900 }
else if (xmlStrcmp(text, (
const xmlChar*)
"STORAGE_DOMAIN_MEMBER") == 0) {
3902 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SYSTEM_FAILURE") == 0) {
3904 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SYSTEM_FAILURE_NOTIFICATION_REGISTRATION") == 0) {
3906 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SYSTEM_HEALTH") == 0) {
3908 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SYSTEM_INFORMATION") == 0) {
3910 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE") == 0) {
3912 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_BUCKET") == 0) {
3914 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_DENSITY_DIRECTIVE") == 0) {
3916 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_DRIVE") == 0) {
3918 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_ENVIRONMENT") == 0) {
3920 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_FAILURE") == 0) {
3922 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_FAILURE_NOTIFICATION_REGISTRATION") == 0) {
3924 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_LIBRARY") == 0) {
3926 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_PARTITION") == 0) {
3928 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_PARTITION_FAILURE") == 0) {
3930 }
else if (xmlStrcmp(text, (
const xmlChar*)
"TAPE_PARTITION_FAILURE_NOTIFICATION_REGISTRATION") == 0) {
3932 }
else if (xmlStrcmp(text, (
const xmlChar*)
"USER") == 0) {
3935 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REST_DOMAIN_TYPE_ACTIVE_JOB for safety.", text);
3940 if (xmlStrcmp(text, (
const xmlChar*)
"ALLOCATE") == 0) {
3942 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL_EJECT") == 0) {
3944 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL_FORMAT") == 0) {
3946 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL_IMPORT") == 0) {
3948 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CANCEL_ONLINE") == 0) {
3950 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CLEAN") == 0) {
3952 }
else if (xmlStrcmp(text, (
const xmlChar*)
"COMPACT") == 0) {
3954 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DEALLOCATE") == 0) {
3956 }
else if (xmlStrcmp(text, (
const xmlChar*)
"EJECT") == 0) {
3958 }
else if (xmlStrcmp(text, (
const xmlChar*)
"FORMAT") == 0) {
3960 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GET_PHYSICAL_PLACEMENT") == 0) {
3962 }
else if (xmlStrcmp(text, (
const xmlChar*)
"IMPORT") == 0) {
3964 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INSPECT") == 0) {
3966 }
else if (xmlStrcmp(text, (
const xmlChar*)
"ONLINE") == 0) {
3968 }
else if (xmlStrcmp(text, (
const xmlChar*)
"REGENERATE_SECRET_KEY") == 0) {
3970 }
else if (xmlStrcmp(text, (
const xmlChar*)
"START_BULK_GET") == 0) {
3972 }
else if (xmlStrcmp(text, (
const xmlChar*)
"START_BULK_PUT") == 0) {
3974 }
else if (xmlStrcmp(text, (
const xmlChar*)
"START_BULK_VERIFY") == 0) {
3976 }
else if (xmlStrcmp(text, (
const xmlChar*)
"VERIFY") == 0) {
3978 }
else if (xmlStrcmp(text, (
const xmlChar*)
"VERIFY_PHYSICAL_PLACEMENT") == 0) {
3981 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REST_OPERATION_TYPE_ALLOCATE for safety.", text);
3986 if (xmlStrcmp(text, (
const xmlChar*)
"SINGLETON") == 0) {
3988 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NON_SINGLETON") == 0) {
3991 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REST_RESOURCE_TYPE_SINGLETON for safety.", text);
3996 if (xmlStrcmp(text, (
const xmlChar*)
"SELECT") == 0) {
3998 }
else if (xmlStrcmp(text, (
const xmlChar*)
"INSERT") == 0) {
4000 }
else if (xmlStrcmp(text, (
const xmlChar*)
"UPDATE") == 0) {
4002 }
else if (xmlStrcmp(text, (
const xmlChar*)
"DELETE") == 0) {
4005 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_SQL_OPERATION_SELECT for safety.", text);
4010 if (xmlStrcmp(text, (
const xmlChar*)
"CRITICAL") == 0) {
4012 }
else if (xmlStrcmp(text, (
const xmlChar*)
"LOW") == 0) {
4014 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NEAR_LOW") == 0) {
4016 }
else if (xmlStrcmp(text, (
const xmlChar*)
"NORMAL") == 0) {
4019 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_DATABASE_PHYSICAL_SPACE_STATE_CRITICAL for safety.", text);
4024 if (xmlStrcmp(text, (
const xmlChar*)
"DEFAULT") == 0) {
4026 }
else if (xmlStrcmp(text, (
const xmlChar*)
"JSON") == 0) {
4028 }
else if (xmlStrcmp(text, (
const xmlChar*)
"XML") == 0) {
4031 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_HTTP_RESPONSE_FORMAT_TYPE_DEFAULT for safety.", text);
4036 if (xmlStrcmp(text, (
const xmlChar*)
"DELETE") == 0) {
4038 }
else if (xmlStrcmp(text, (
const xmlChar*)
"GET") == 0) {
4040 }
else if (xmlStrcmp(text, (
const xmlChar*)
"HEAD") == 0) {
4042 }
else if (xmlStrcmp(text, (
const xmlChar*)
"POST") == 0) {
4044 }
else if (xmlStrcmp(text, (
const xmlChar*)
"PUT") == 0) {
4047 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_REQUEST_TYPE_DELETE for safety.", text);
4052 if (xmlStrcmp(text, (
const xmlChar*)
"CONCAT_LOWERCASE") == 0) {
4054 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CONSTANT") == 0) {
4056 }
else if (xmlStrcmp(text, (
const xmlChar*)
"UNDERSCORED") == 0) {
4058 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE") == 0) {
4060 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE") == 0) {
4063 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_NAMING_CONVENTION_TYPE_CONCAT_LOWERCASE for safety.", text);
4068 if (xmlStrcmp(text, (
const xmlChar*)
"CRC_32") == 0) {
4070 }
else if (xmlStrcmp(text, (
const xmlChar*)
"CRC_32C") == 0) {
4072 }
else if (xmlStrcmp(text, (
const xmlChar*)
"MD5") == 0) {
4074 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SHA_256") == 0) {
4076 }
else if (xmlStrcmp(text, (
const xmlChar*)
"SHA_512") == 0) {
4079 ds3_log_message(log,
DS3_ERROR,
"ERROR: Unknown value of '%s'. Returning DS3_CHECKSUM_TYPE_CRC_32 for safety.", text);
4087 xmlNodePtr child_node;
4093 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4099 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4115 if (error != NULL) {
4122 *_response = response;
4129 xmlNodePtr child_node;
4135 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4142 }
else if (
element_equal(child_node,
"LastPreferredChunkSizeInBytes")) {
4144 }
else if (
element_equal(child_node,
"LogicalUsedCapacity")) {
4154 if (error != NULL) {
4161 *_response = response;
4168 xmlNodePtr child_node;
4169 GPtrArray* ds3_bucket_response_array = g_ptr_array_new();
4171 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4174 g_ptr_array_add(ds3_bucket_response_array, response);
4176 if (error != NULL) {
4181 *_response = ds3_bucket_response_array;
4187 xmlNodePtr child_node;
4193 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4201 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4213 if (error != NULL) {
4220 *_response = response;
4227 xmlNodePtr child_node;
4228 GPtrArray* ds3_bucket_acl_response_array = g_ptr_array_new();
4230 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4233 g_ptr_array_add(ds3_bucket_acl_response_array, response);
4235 if (error != NULL) {
4240 *_response = ds3_bucket_acl_response_array;
4246 xmlNodePtr child_node;
4252 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4255 }
else if (
element_equal(child_node,
"CachedSizeInBytes")) {
4257 }
else if (
element_equal(child_node,
"ChunkClientProcessingOrderGuarantee")) {
4258 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4264 }
else if (
element_equal(child_node,
"CompletedSizeInBytes")) {
4278 }
else if (
element_equal(child_node,
"OriginalSizeInBytes")) {
4281 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4290 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4304 if (error != NULL) {
4311 *_response = response;
4318 xmlNodePtr child_node;
4319 GPtrArray* ds3_canceled_job_response_array = g_ptr_array_new();
4321 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4324 g_ptr_array_add(ds3_canceled_job_response_array, response);
4326 if (error != NULL) {
4331 *_response = ds3_canceled_job_response_array;
4337 xmlNodePtr child_node;
4343 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4346 }
else if (
element_equal(child_node,
"CachedSizeInBytes")) {
4348 }
else if (
element_equal(child_node,
"ChunkClientProcessingOrderGuarantee")) {
4349 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4355 }
else if (
element_equal(child_node,
"CompletedSizeInBytes")) {
4369 }
else if (
element_equal(child_node,
"OriginalSizeInBytes")) {
4372 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4381 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4395 if (error != NULL) {
4402 *_response = response;
4409 xmlNodePtr child_node;
4410 GPtrArray* ds3_completed_job_response_array = g_ptr_array_new();
4412 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4415 g_ptr_array_add(ds3_completed_job_response_array, response);
4417 if (error != NULL) {
4422 *_response = ds3_completed_job_response_array;
4428 xmlNodePtr child_node;
4434 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4440 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4446 }
else if (
element_equal(child_node,
"MinimumDaysToRetain")) {
4449 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4458 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4465 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_persistence_rule_response [%s]\n", child_node->name, root->name);
4468 if (error != NULL) {
4475 *_response = response;
4482 xmlNodePtr child_node;
4483 GPtrArray* ds3_data_persistence_rule_response_array = g_ptr_array_new();
4485 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4488 g_ptr_array_add(ds3_data_persistence_rule_response_array, response);
4490 if (error != NULL) {
4495 *_response = ds3_data_persistence_rule_response_array;
4501 xmlNodePtr child_node;
4507 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4511 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4521 }
else if (
element_equal(child_node,
"DefaultGetJobPriority")) {
4522 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4528 }
else if (
element_equal(child_node,
"DefaultPutJobPriority")) {
4529 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4535 }
else if (
element_equal(child_node,
"DefaultVerifyJobPriority")) {
4536 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4542 }
else if (
element_equal(child_node,
"EndToEndCrcRequired")) {
4546 }
else if (
element_equal(child_node,
"LtfsObjectNamingAllowed")) {
4551 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4558 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4568 if (error != NULL) {
4575 *_response = response;
4582 xmlNodePtr child_node;
4583 GPtrArray* ds3_data_policy_response_array = g_ptr_array_new();
4585 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4588 g_ptr_array_add(ds3_data_policy_response_array, response);
4590 if (error != NULL) {
4595 *_response = ds3_data_policy_response_array;
4601 xmlNodePtr child_node;
4607 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4620 if (error != NULL) {
4627 *_response = response;
4634 xmlNodePtr child_node;
4635 GPtrArray* ds3_data_policy_acl_response_array = g_ptr_array_new();
4637 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4640 g_ptr_array_add(ds3_data_policy_acl_response_array, response);
4642 if (error != NULL) {
4647 *_response = ds3_data_policy_acl_response_array;
4653 xmlNodePtr child_node;
4659 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4670 if (error != NULL) {
4677 *_response = response;
4684 xmlNodePtr child_node;
4685 GPtrArray* ds3_group_response_array = g_ptr_array_new();
4687 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4690 g_ptr_array_add(ds3_group_response_array, response);
4692 if (error != NULL) {
4697 *_response = ds3_group_response_array;
4703 xmlNodePtr child_node;
4709 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4722 if (error != NULL) {
4729 *_response = response;
4736 xmlNodePtr child_node;
4737 GPtrArray* ds3_group_member_response_array = g_ptr_array_new();
4739 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4742 g_ptr_array_add(ds3_group_member_response_array, response);
4744 if (error != NULL) {
4749 *_response = ds3_group_member_response_array;
4755 xmlNodePtr child_node;
4761 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4766 }
else if (
element_equal(child_node,
"CachedSizeInBytes")) {
4768 }
else if (
element_equal(child_node,
"ChunkClientProcessingOrderGuarantee")) {
4769 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4775 }
else if (
element_equal(child_node,
"CompletedSizeInBytes")) {
4787 }
else if (
element_equal(child_node,
"OriginalSizeInBytes")) {
4790 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4799 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4813 if (error != NULL) {
4820 *_response = response;
4827 xmlNodePtr child_node;
4828 GPtrArray* ds3_active_job_response_array = g_ptr_array_new();
4830 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4833 g_ptr_array_add(ds3_active_job_response_array, response);
4835 if (error != NULL) {
4840 *_response = ds3_active_job_response_array;
4846 xmlNodePtr child_node;
4852 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4855 }
else if (
element_equal(child_node,
"DataPathHttpsPort")) {
4857 }
else if (
element_equal(child_node,
"DataPathIpAddress")) {
4873 if (error != NULL) {
4880 *_response = response;
4887 xmlNodePtr child_node;
4888 GPtrArray* ds3_node_response_array = g_ptr_array_new();
4890 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4893 g_ptr_array_add(ds3_node_response_array, response);
4895 if (error != NULL) {
4900 *_response = ds3_node_response_array;
4906 xmlNodePtr child_node;
4912 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4924 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4936 if (error != NULL) {
4943 *_response = response;
4950 xmlNodePtr child_node;
4951 GPtrArray* ds3_s3_object_response_array = g_ptr_array_new();
4953 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4956 g_ptr_array_add(ds3_s3_object_response_array, response);
4958 if (error != NULL) {
4963 *_response = ds3_s3_object_response_array;
4969 xmlNodePtr child_node;
4975 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
4978 }
else if (
element_equal(child_node,
"AutoEjectUponJobCancellation")) {
4980 }
else if (
element_equal(child_node,
"AutoEjectUponJobCompletion")) {
4982 }
else if (
element_equal(child_node,
"AutoEjectUponMediaFull")) {
4987 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
4993 }
else if (
element_equal(child_node,
"MaxTapeFragmentationPercent")) {
4995 }
else if (
element_equal(child_node,
"MaximumAutoVerificationFrequencyInDays")) {
4997 }
else if (
element_equal(child_node,
"MediaEjectionAllowed")) {
5001 }
else if (
element_equal(child_node,
"VerifyPriorToAutoEject")) {
5002 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5008 }
else if (
element_equal(child_node,
"WriteOptimization")) {
5009 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5019 if (error != NULL) {
5026 *_response = response;
5033 xmlNodePtr child_node;
5034 GPtrArray* ds3_storage_domain_response_array = g_ptr_array_new();
5036 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5039 g_ptr_array_add(ds3_storage_domain_response_array, response);
5041 if (error != NULL) {
5046 *_response = ds3_storage_domain_response_array;
5052 xmlNodePtr child_node;
5058 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5066 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_capacity_summary_response [%s]\n", child_node->name, root->name);
5069 if (error != NULL) {
5076 *_response = response;
5083 xmlNodePtr child_node;
5089 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5099 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5106 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_failure_response [%s]\n", child_node->name, root->name);
5109 if (error != NULL) {
5116 *_response = response;
5123 xmlNodePtr child_node;
5124 GPtrArray* ds3_storage_domain_failure_response_array = g_ptr_array_new();
5126 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5129 g_ptr_array_add(ds3_storage_domain_failure_response_array, response);
5131 if (error != NULL) {
5136 *_response = ds3_storage_domain_failure_response_array;
5142 xmlNodePtr child_node;
5148 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5154 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5165 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5172 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5179 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_member_response [%s]\n", child_node->name, root->name);
5182 if (error != NULL) {
5189 *_response = response;
5196 xmlNodePtr child_node;
5197 GPtrArray* ds3_storage_domain_member_response_array = g_ptr_array_new();
5199 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5202 g_ptr_array_add(ds3_storage_domain_member_response_array, response);
5204 if (error != NULL) {
5209 *_response = ds3_storage_domain_member_response_array;
5215 xmlNodePtr child_node;
5221 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5229 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5239 if (error != NULL) {
5246 *_response = response;
5253 xmlNodePtr child_node;
5254 GPtrArray* ds3_system_failure_response_array = g_ptr_array_new();
5256 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5259 g_ptr_array_add(ds3_system_failure_response_array, response);
5261 if (error != NULL) {
5266 *_response = ds3_system_failure_response_array;
5272 xmlNodePtr child_node;
5278 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5281 }
else if (
element_equal(child_node,
"DefaultDataPolicyId")) {
5293 if (error != NULL) {
5300 *_response = response;
5307 xmlNodePtr child_node;
5308 GPtrArray* ds3_spectra_user_response_array = g_ptr_array_new();
5310 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5313 g_ptr_array_add(ds3_spectra_user_response_array, response);
5315 if (error != NULL) {
5320 *_response = ds3_spectra_user_response_array;
5326 xmlNodePtr child_node;
5332 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5336 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5348 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5353 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5359 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5361 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5362 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5368 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5373 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_completed_notification_registration_response [%s]\n", child_node->name, root->name);
5376 if (error != NULL) {
5383 *_response = response;
5390 xmlNodePtr child_node;
5391 GPtrArray* ds3_job_completed_notification_registration_response_array = g_ptr_array_new();
5393 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5396 g_ptr_array_add(ds3_job_completed_notification_registration_response_array, response);
5398 if (error != NULL) {
5403 *_response = ds3_job_completed_notification_registration_response_array;
5409 xmlNodePtr child_node;
5415 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5419 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5429 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5434 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5440 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5442 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5443 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5449 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5454 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_created_notification_registration_response [%s]\n", child_node->name, root->name);
5457 if (error != NULL) {
5464 *_response = response;
5471 xmlNodePtr child_node;
5472 GPtrArray* ds3_job_created_notification_registration_response_array = g_ptr_array_new();
5474 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5477 g_ptr_array_add(ds3_job_created_notification_registration_response_array, response);
5479 if (error != NULL) {
5484 *_response = ds3_job_created_notification_registration_response_array;
5490 xmlNodePtr child_node;
5496 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5500 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5510 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5515 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5521 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5523 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5524 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5530 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5535 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_pool_failure_notification_registration_response [%s]\n", child_node->name, root->name);
5538 if (error != NULL) {
5545 *_response = response;
5552 xmlNodePtr child_node;
5553 GPtrArray* ds3_pool_failure_notification_registration_response_array = g_ptr_array_new();
5555 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5558 g_ptr_array_add(ds3_pool_failure_notification_registration_response_array, response);
5560 if (error != NULL) {
5565 *_response = ds3_pool_failure_notification_registration_response_array;
5571 xmlNodePtr child_node;
5577 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5581 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5593 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5598 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5604 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5606 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5607 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5613 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5618 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_cached_notification_registration_response [%s]\n", child_node->name, root->name);
5621 if (error != NULL) {
5628 *_response = response;
5635 xmlNodePtr child_node;
5636 GPtrArray* ds3_s3_object_cached_notification_registration_response_array = g_ptr_array_new();
5638 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5641 g_ptr_array_add(ds3_s3_object_cached_notification_registration_response_array, response);
5643 if (error != NULL) {
5648 *_response = ds3_s3_object_cached_notification_registration_response_array;
5654 xmlNodePtr child_node;
5660 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5664 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5674 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5679 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5685 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5687 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5688 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5694 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5699 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_lost_notification_registration_response [%s]\n", child_node->name, root->name);
5702 if (error != NULL) {
5709 *_response = response;
5716 xmlNodePtr child_node;
5717 GPtrArray* ds3_s3_object_lost_notification_registration_response_array = g_ptr_array_new();
5719 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5722 g_ptr_array_add(ds3_s3_object_lost_notification_registration_response_array, response);
5724 if (error != NULL) {
5729 *_response = ds3_s3_object_lost_notification_registration_response_array;
5735 xmlNodePtr child_node;
5741 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5745 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5757 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5762 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5768 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5770 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5771 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5777 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5782 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_persisted_notification_registration_response [%s]\n", child_node->name, root->name);
5785 if (error != NULL) {
5792 *_response = response;
5799 xmlNodePtr child_node;
5800 GPtrArray* ds3_s3_object_persisted_notification_registration_response_array = g_ptr_array_new();
5802 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5805 g_ptr_array_add(ds3_s3_object_persisted_notification_registration_response_array, response);
5807 if (error != NULL) {
5812 *_response = ds3_s3_object_persisted_notification_registration_response_array;
5818 xmlNodePtr child_node;
5824 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5828 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5838 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5843 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5849 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5851 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5852 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5858 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5863 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_failure_notification_registration_response [%s]\n", child_node->name, root->name);
5866 if (error != NULL) {
5873 *_response = response;
5880 xmlNodePtr child_node;
5881 GPtrArray* ds3_storage_domain_failure_notification_registration_response_array = g_ptr_array_new();
5883 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5886 g_ptr_array_add(ds3_storage_domain_failure_notification_registration_response_array, response);
5888 if (error != NULL) {
5893 *_response = ds3_storage_domain_failure_notification_registration_response_array;
5899 xmlNodePtr child_node;
5905 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5909 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5919 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
5924 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5930 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
5932 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
5933 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
5939 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
5944 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_system_failure_notification_registration_response [%s]\n", child_node->name, root->name);
5947 if (error != NULL) {
5954 *_response = response;
5961 xmlNodePtr child_node;
5962 GPtrArray* ds3_system_failure_notification_registration_response_array = g_ptr_array_new();
5964 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5967 g_ptr_array_add(ds3_system_failure_notification_registration_response_array, response);
5969 if (error != NULL) {
5974 *_response = ds3_system_failure_notification_registration_response_array;
5980 xmlNodePtr child_node;
5986 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
5990 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6000 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
6005 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6011 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
6013 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
6014 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6020 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
6025 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_failure_notification_registration_response [%s]\n", child_node->name, root->name);
6028 if (error != NULL) {
6035 *_response = response;
6042 xmlNodePtr child_node;
6043 GPtrArray* ds3_tape_failure_notification_registration_response_array = g_ptr_array_new();
6045 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6048 g_ptr_array_add(ds3_tape_failure_notification_registration_response_array, response);
6050 if (error != NULL) {
6055 *_response = ds3_tape_failure_notification_registration_response_array;
6061 xmlNodePtr child_node;
6067 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6071 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6081 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
6086 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6092 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
6094 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
6095 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6101 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
6106 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_failure_notification_registration_response [%s]\n", child_node->name, root->name);
6109 if (error != NULL) {
6116 *_response = response;
6123 xmlNodePtr child_node;
6124 GPtrArray* ds3_tape_partition_failure_notification_registration_response_array = g_ptr_array_new();
6126 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6129 g_ptr_array_add(ds3_tape_partition_failure_notification_registration_response_array, response);
6131 if (error != NULL) {
6136 *_response = ds3_tape_partition_failure_notification_registration_response_array;
6142 xmlNodePtr child_node;
6148 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6149 if (
element_equal(child_node,
"AutoReclaimInitiateThreshold")) {
6151 }
else if (
element_equal(child_node,
"AutoReclaimTerminateThreshold")) {
6157 }
else if (
element_equal(child_node,
"MaxCapacityInBytes")) {
6159 }
else if (
element_equal(child_node,
"MaxPercentUtilizationOfFilesystem")) {
6166 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_filesystem_response [%s]\n", child_node->name, root->name);
6169 if (error != NULL) {
6176 *_response = response;
6183 xmlNodePtr child_node;
6184 GPtrArray* ds3_cache_filesystem_response_array = g_ptr_array_new();
6186 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6189 g_ptr_array_add(ds3_cache_filesystem_response_array, response);
6191 if (error != NULL) {
6196 *_response = ds3_cache_filesystem_response_array;
6202 xmlNodePtr child_node;
6208 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6211 }
else if (
element_equal(child_node,
"AvailableCapacity")) {
6218 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6241 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6250 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6261 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6273 if (error != NULL) {
6280 *_response = response;
6287 xmlNodePtr child_node;
6288 GPtrArray* ds3_pool_response_array = g_ptr_array_new();
6290 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6293 g_ptr_array_add(ds3_pool_response_array, response);
6295 if (error != NULL) {
6300 *_response = ds3_pool_response_array;
6306 xmlNodePtr child_node;
6312 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6322 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6332 if (error != NULL) {
6339 *_response = response;
6346 xmlNodePtr child_node;
6347 GPtrArray* ds3_pool_failure_response_array = g_ptr_array_new();
6349 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6352 g_ptr_array_add(ds3_pool_failure_response_array, response);
6354 if (error != NULL) {
6359 *_response = ds3_pool_failure_response_array;
6365 xmlNodePtr child_node;
6371 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6377 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6387 if (error != NULL) {
6394 *_response = response;
6401 xmlNodePtr child_node;
6402 GPtrArray* ds3_pool_partition_response_array = g_ptr_array_new();
6404 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6407 g_ptr_array_add(ds3_pool_partition_response_array, response);
6409 if (error != NULL) {
6414 *_response = ds3_pool_partition_response_array;
6420 xmlNodePtr child_node;
6426 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6429 }
else if (
element_equal(child_node,
"AvailableRawCapacity")) {
6435 }
else if (
element_equal(child_node,
"DescriptionForIdentification")) {
6460 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6469 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6477 }
else if (
element_equal(child_node,
"TakeOwnershipPending")) {
6482 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6489 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6501 if (error != NULL) {
6508 *_response = response;
6515 xmlNodePtr child_node;
6516 GPtrArray* ds3_tape_response_array = g_ptr_array_new();
6518 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6521 g_ptr_array_add(ds3_tape_response_array, response);
6523 if (error != NULL) {
6528 *_response = ds3_tape_response_array;
6534 xmlNodePtr child_node;
6540 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6542 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6553 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6560 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_density_directive_response [%s]\n", child_node->name, root->name);
6563 if (error != NULL) {
6570 *_response = response;
6577 xmlNodePtr child_node;
6578 GPtrArray* ds3_tape_density_directive_response_array = g_ptr_array_new();
6580 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6583 g_ptr_array_add(ds3_tape_density_directive_response_array, response);
6585 if (error != NULL) {
6590 *_response = ds3_tape_density_directive_response_array;
6596 xmlNodePtr child_node;
6602 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6616 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6625 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6635 if (error != NULL) {
6642 *_response = response;
6649 xmlNodePtr child_node;
6650 GPtrArray* ds3_tape_drive_response_array = g_ptr_array_new();
6652 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6655 g_ptr_array_add(ds3_tape_drive_response_array, response);
6657 if (error != NULL) {
6662 *_response = ds3_tape_drive_response_array;
6668 xmlNodePtr child_node;
6674 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6686 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6693 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_detailed_tape_failure_response [%s]\n", child_node->name, root->name);
6696 if (error != NULL) {
6703 *_response = response;
6710 xmlNodePtr child_node;
6711 GPtrArray* ds3_detailed_tape_failure_response_array = g_ptr_array_new();
6713 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6716 g_ptr_array_add(ds3_detailed_tape_failure_response_array, response);
6718 if (error != NULL) {
6723 *_response = ds3_detailed_tape_failure_response_array;
6729 xmlNodePtr child_node;
6735 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6748 if (error != NULL) {
6755 *_response = response;
6762 xmlNodePtr child_node;
6763 GPtrArray* ds3_tape_library_response_array = g_ptr_array_new();
6765 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6768 g_ptr_array_add(ds3_tape_library_response_array, response);
6770 if (error != NULL) {
6775 *_response = ds3_tape_library_response_array;
6781 xmlNodePtr child_node;
6787 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6789 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6799 }
else if (
element_equal(child_node,
"ImportExportConfiguration")) {
6800 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6811 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6820 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6830 if (error != NULL) {
6837 *_response = response;
6844 xmlNodePtr child_node;
6845 GPtrArray* ds3_tape_partition_response_array = g_ptr_array_new();
6847 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6850 g_ptr_array_add(ds3_tape_partition_response_array, response);
6852 if (error != NULL) {
6857 *_response = ds3_tape_partition_response_array;
6863 xmlNodePtr child_node;
6869 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6879 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6886 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_failure_response [%s]\n", child_node->name, root->name);
6889 if (error != NULL) {
6896 *_response = response;
6903 xmlNodePtr child_node;
6904 GPtrArray* ds3_tape_partition_failure_response_array = g_ptr_array_new();
6906 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6909 g_ptr_array_add(ds3_tape_partition_failure_response_array, response);
6911 if (error != NULL) {
6916 *_response = ds3_tape_partition_failure_response_array;
6922 xmlNodePtr child_node;
6928 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6936 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_build_information_response [%s]\n", child_node->name, root->name);
6939 if (error != NULL) {
6946 *_response = response;
6953 xmlNodePtr child_node;
6959 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
6975 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6982 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
6991 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_blob_store_task_information_response [%s]\n", child_node->name, root->name);
6994 if (error != NULL) {
7001 *_response = response;
7008 xmlNodePtr child_node;
7009 GPtrArray* ds3_blob_store_task_information_response_array = g_ptr_array_new();
7011 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7014 g_ptr_array_add(ds3_blob_store_task_information_response_array, response);
7016 if (error != NULL) {
7021 *_response = ds3_blob_store_task_information_response_array;
7027 xmlNodePtr child_node;
7033 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7037 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7044 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_entry_information_response [%s]\n", child_node->name, root->name);
7047 if (error != NULL) {
7054 if (error == NULL) {
7055 *_response = response;
7065 xmlNodePtr child_node;
7066 GPtrArray* ds3_cache_entry_information_response_array = g_ptr_array_new();
7068 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7071 g_ptr_array_add(ds3_cache_entry_information_response_array, response);
7073 if (error != NULL) {
7078 *_response = ds3_cache_entry_information_response_array;
7084 xmlNodePtr child_node;
7086 GPtrArray* entries_array = g_ptr_array_new();
7091 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7092 if (
element_equal(child_node,
"AvailableCapacityInBytes")) {
7100 g_ptr_array_add(entries_array, entries_response);
7103 }
else if (
element_equal(child_node,
"TotalCapacityInBytes")) {
7105 }
else if (
element_equal(child_node,
"UnavailableCapacityInBytes")) {
7107 }
else if (
element_equal(child_node,
"UsedCapacityInBytes")) {
7110 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_filesystem_information_response [%s]\n", child_node->name, root->name);
7113 if (error != NULL) {
7121 g_ptr_array_free(entries_array, FALSE);
7123 if (error == NULL) {
7124 *_response = response;
7134 xmlNodePtr child_node;
7135 GPtrArray* ds3_cache_filesystem_information_response_array = g_ptr_array_new();
7137 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7140 g_ptr_array_add(ds3_cache_filesystem_information_response_array, response);
7142 if (error != NULL) {
7147 *_response = ds3_cache_filesystem_information_response_array;
7153 xmlNodePtr child_node;
7159 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7168 if (error != NULL) {
7175 *_response = response;
7182 xmlNodePtr child_node;
7183 GPtrArray* ds3_bucket_details_response_array = g_ptr_array_new();
7185 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7188 g_ptr_array_add(ds3_bucket_details_response_array, response);
7190 if (error != NULL) {
7195 *_response = ds3_bucket_details_response_array;
7201 xmlNodePtr child_node;
7207 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7215 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_delete_object_error_response [%s]\n", child_node->name, root->name);
7218 if (error != NULL) {
7225 *_response = response;
7232 xmlNodePtr child_node;
7233 GPtrArray* ds3_delete_object_error_response_array = g_ptr_array_new();
7235 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7238 g_ptr_array_add(ds3_delete_object_error_response_array, response);
7240 if (error != NULL) {
7245 *_response = ds3_delete_object_error_response_array;
7251 xmlNodePtr child_node;
7257 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7265 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_multi_part_upload_part_response [%s]\n", child_node->name, root->name);
7268 if (error != NULL) {
7275 *_response = response;
7282 xmlNodePtr child_node;
7283 GPtrArray* ds3_multi_part_upload_part_response_array = g_ptr_array_new();
7285 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7288 g_ptr_array_add(ds3_multi_part_upload_part_response_array, response);
7290 if (error != NULL) {
7295 *_response = ds3_multi_part_upload_part_response_array;
7301 struct _xmlAttr* attribute;
7306 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
7319 if (error != NULL) {
7327 *_response = response;
7334 xmlNodePtr child_node;
7335 GPtrArray* ds3_job_node_response_array = g_ptr_array_new();
7337 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7340 g_ptr_array_add(ds3_job_node_response_array, response);
7342 if (error != NULL) {
7347 *_response = ds3_job_node_response_array;
7353 xmlNodePtr child_node;
7359 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7363 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_to_delete_response [%s]\n", child_node->name, root->name);
7366 if (error != NULL) {
7373 *_response = response;
7380 xmlNodePtr child_node;
7381 GPtrArray* ds3_s3_object_to_delete_response_array = g_ptr_array_new();
7383 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7386 g_ptr_array_add(ds3_s3_object_to_delete_response_array, response);
7388 if (error != NULL) {
7393 *_response = ds3_s3_object_to_delete_response_array;
7399 xmlNodePtr child_node;
7405 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7414 if (error != NULL) {
7421 *_response = response;
7428 xmlNodePtr child_node;
7434 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7436 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7443 xmlNodePtr loop_node;
7445 GByteArray* enum_array = g_byte_array_new();
7447 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
7448 xmlChar* text = xmlNodeListGetString(doc, loop_node, 1);
7453 g_byte_array_append(enum_array, (
const guint8*) &drive_types,
sizeof(
ds3_tape_drive_type));
7457 g_byte_array_free(enum_array, FALSE);
7462 }
else if (
element_equal(child_node,
"ImportExportConfiguration")) {
7463 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7474 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7483 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7490 xmlNodePtr loop_node;
7492 GByteArray* enum_array = g_byte_array_new();
7494 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
7495 xmlChar* text = xmlNodeListGetString(doc, loop_node, 1);
7500 g_byte_array_append(enum_array, (
const guint8*) &tape_types,
sizeof(
ds3_tape_type));
7504 g_byte_array_free(enum_array, FALSE);
7506 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_named_detailed_tape_partition_response [%s]\n", child_node->name, root->name);
7509 if (error != NULL) {
7516 if (error == NULL) {
7517 *_response = response;
7527 xmlNodePtr child_node;
7528 GPtrArray* ds3_named_detailed_tape_partition_response_array = g_ptr_array_new();
7530 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7533 g_ptr_array_add(ds3_named_detailed_tape_partition_response_array, response);
7535 if (error != NULL) {
7540 *_response = ds3_named_detailed_tape_partition_response_array;
7546 xmlNodePtr child_node;
7552 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7555 }
else if (
element_equal(child_node,
"AvailableRawCapacity")) {
7561 }
else if (
element_equal(child_node,
"DescriptionForIdentification")) {
7583 }
else if (
element_equal(child_node,
"MostRecentFailure")) {
7588 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7597 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7605 }
else if (
element_equal(child_node,
"TakeOwnershipPending")) {
7610 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7617 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
7626 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_named_detailed_tape_response [%s]\n", child_node->name, root->name);
7629 if (error != NULL) {
7636 if (error == NULL) {
7637 *_response = response;
7647 xmlNodePtr child_node;
7648 GPtrArray* ds3_named_detailed_tape_response_array = g_ptr_array_new();
7650 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7653 g_ptr_array_add(ds3_named_detailed_tape_response_array, response);
7655 if (error != NULL) {
7660 *_response = ds3_named_detailed_tape_response_array;
7666 xmlNodePtr child_node;
7672 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7681 if (error != NULL) {
7688 if (error == NULL) {
7689 *_response = response;
7699 xmlNodePtr child_node;
7700 GPtrArray* ds3_tape_failure_response_array = g_ptr_array_new();
7702 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7705 g_ptr_array_add(ds3_tape_failure_response_array, response);
7707 if (error != NULL) {
7712 *_response = ds3_tape_failure_response_array;
7718 xmlNodePtr child_node;
7724 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7735 if (error != NULL) {
7742 *_response = response;
7749 xmlNodePtr child_node;
7750 GPtrArray* ds3_type_response_array = g_ptr_array_new();
7752 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7755 g_ptr_array_add(ds3_type_response_array, response);
7757 if (error != NULL) {
7762 *_response = ds3_type_response_array;
7768 xmlNodePtr child_node;
7774 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7776 GPtrArray* pools_array;
7780 g_ptr_array_free(pools_array, FALSE);
7782 GPtrArray* tapes_array;
7786 g_ptr_array_free(tapes_array, FALSE);
7788 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_physical_placement_response [%s]\n", child_node->name, root->name);
7791 if (error != NULL) {
7798 if (error == NULL) {
7799 *_response = response;
7809 struct _xmlAttr* attribute;
7810 xmlNodePtr child_node;
7815 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
7832 if (error != NULL) {
7838 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7845 if (error != NULL) {
7852 if (error == NULL) {
7853 *_response = response;
7863 xmlNodePtr child_node;
7864 GPtrArray* ds3_bulk_object_response_array = g_ptr_array_new();
7866 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7869 g_ptr_array_add(ds3_bulk_object_response_array, response);
7871 if (error != NULL) {
7876 *_response = ds3_bulk_object_response_array;
7882 xmlNodePtr child_node;
7884 GPtrArray* objects_array = g_ptr_array_new();
7889 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7894 g_ptr_array_add(objects_array, objects_response);
7896 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_bulk_object_list_response [%s]\n", child_node->name, root->name);
7899 if (error != NULL) {
7907 g_ptr_array_free(objects_array, FALSE);
7909 if (error == NULL) {
7910 *_response = response;
7920 struct _xmlAttr* attribute;
7921 xmlNodePtr child_node;
7926 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
7933 }
else if (
attribute_equal(attribute,
"ChunkClientProcessingOrderGuarantee") ==
true) {
7934 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
7940 }
else if (
attribute_equal(attribute,
"CompletedSizeInBytes") ==
true) {
7948 }
else if (
attribute_equal(attribute,
"OriginalSizeInBytes") ==
true) {
7951 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
7958 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
7967 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
7978 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
7988 if (error != NULL) {
7994 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
7996 GPtrArray* nodes_array;
8000 g_ptr_array_free(nodes_array, FALSE);
8005 if (error != NULL) {
8012 if (error == NULL) {
8013 *_response = response;
8023 xmlNodePtr child_node;
8024 GPtrArray* ds3_job_response_array = g_ptr_array_new();
8026 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8029 g_ptr_array_add(ds3_job_response_array, response);
8031 if (error != NULL) {
8036 *_response = ds3_job_response_array;
8042 struct _xmlAttr* attribute;
8043 xmlNodePtr child_node;
8045 GPtrArray* objects_array = g_ptr_array_new();
8049 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
8060 if (error != NULL) {
8066 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8071 g_ptr_array_add(objects_array, objects_response);
8076 if (error != NULL) {
8084 g_ptr_array_free(objects_array, FALSE);
8086 if (error == NULL) {
8087 *_response = response;
8097 xmlNodePtr child_node;
8098 GPtrArray* ds3_objects_response_array = g_ptr_array_new();
8100 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8103 g_ptr_array_add(ds3_objects_response_array, response);
8105 if (error != NULL) {
8110 *_response = ds3_objects_response_array;
8116 xmlNodePtr child_node;
8122 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8132 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_multi_part_upload_response [%s]\n", child_node->name, root->name);
8135 if (error != NULL) {
8142 if (error == NULL) {
8143 *_response = response;
8153 xmlNodePtr child_node;
8154 GPtrArray* ds3_multi_part_upload_response_array = g_ptr_array_new();
8156 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8159 g_ptr_array_add(ds3_multi_part_upload_response_array, response);
8161 if (error != NULL) {
8166 *_response = ds3_multi_part_upload_response_array;
8172 xmlNodePtr child_node;
8178 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8195 if (error != NULL) {
8202 if (error == NULL) {
8203 *_response = response;
8213 xmlNodePtr child_node;
8214 GPtrArray* ds3_contents_response_array = g_ptr_array_new();
8216 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8219 g_ptr_array_add(ds3_contents_response_array, response);
8221 if (error != NULL) {
8226 *_response = ds3_contents_response_array;
8232 xmlNodePtr child_node;
8238 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8241 }
else if (
element_equal(child_node,
"BlobsBeingPersisted")) {
8266 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8275 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_detailed_s3_object_response [%s]\n", child_node->name, root->name);
8278 if (error != NULL) {
8285 if (error == NULL) {
8286 *_response = response;
8296 xmlNodePtr child_node;
8297 GPtrArray* ds3_detailed_s3_object_response_array = g_ptr_array_new();
8299 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8302 g_ptr_array_add(ds3_detailed_s3_object_response_array, response);
8304 if (error != NULL) {
8309 *_response = ds3_detailed_s3_object_response_array;
8318 xmlNodePtr child_node;
8323 if (error != NULL) {
8329 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8336 }
else if (
element_equal(child_node,
"LastPreferredChunkSizeInBytes")) {
8338 }
else if (
element_equal(child_node,
"LogicalUsedCapacity")) {
8348 if (error != NULL) {
8357 if (error == NULL) {
8358 *_response = response;
8368 xmlNodePtr child_node;
8373 if (error != NULL) {
8379 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8387 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8399 if (error != NULL) {
8408 if (error == NULL) {
8409 *_response = response;
8419 xmlNodePtr child_node;
8424 if (error != NULL) {
8430 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8433 }
else if (
element_equal(child_node,
"AutoActivateTimeoutInMins")) {
8436 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8442 }
else if (
element_equal(child_node,
"DefaultImportConflictResolutionMode")) {
8443 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8453 }
else if (
element_equal(child_node,
"UnavailableMediaPolicy")) {
8454 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8460 }
else if (
element_equal(child_node,
"UnavailablePoolMaxJobRetryInMins")) {
8462 }
else if (
element_equal(child_node,
"UnavailableTapePartitionMaxJobRetryInMins")) {
8465 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_path_backend_response [%s]\n", child_node->name, root->name);
8468 if (error != NULL) {
8477 if (error == NULL) {
8478 *_response = response;
8488 xmlNodePtr child_node;
8493 if (error != NULL) {
8499 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8505 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8511 }
else if (
element_equal(child_node,
"MinimumDaysToRetain")) {
8514 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8523 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8530 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_persistence_rule_response [%s]\n", child_node->name, root->name);
8533 if (error != NULL) {
8542 if (error == NULL) {
8543 *_response = response;
8553 xmlNodePtr child_node;
8558 if (error != NULL) {
8564 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8568 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8578 }
else if (
element_equal(child_node,
"DefaultGetJobPriority")) {
8579 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8585 }
else if (
element_equal(child_node,
"DefaultPutJobPriority")) {
8586 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8592 }
else if (
element_equal(child_node,
"DefaultVerifyJobPriority")) {
8593 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8599 }
else if (
element_equal(child_node,
"EndToEndCrcRequired")) {
8603 }
else if (
element_equal(child_node,
"LtfsObjectNamingAllowed")) {
8608 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8615 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8625 if (error != NULL) {
8634 if (error == NULL) {
8635 *_response = response;
8645 xmlNodePtr child_node;
8650 if (error != NULL) {
8656 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8669 if (error != NULL) {
8678 if (error == NULL) {
8679 *_response = response;
8689 xmlNodePtr child_node;
8694 if (error != NULL) {
8700 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8711 if (error != NULL) {
8720 if (error == NULL) {
8721 *_response = response;
8731 xmlNodePtr child_node;
8736 if (error != NULL) {
8742 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8755 if (error != NULL) {
8764 if (error == NULL) {
8765 *_response = response;
8775 xmlNodePtr child_node;
8780 if (error != NULL) {
8786 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8789 }
else if (
element_equal(child_node,
"DataPathHttpsPort")) {
8791 }
else if (
element_equal(child_node,
"DataPathIpAddress")) {
8807 if (error != NULL) {
8816 if (error == NULL) {
8817 *_response = response;
8827 xmlNodePtr child_node;
8832 if (error != NULL) {
8838 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8850 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8862 if (error != NULL) {
8871 if (error == NULL) {
8872 *_response = response;
8882 xmlNodePtr child_node;
8887 if (error != NULL) {
8893 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8896 }
else if (
element_equal(child_node,
"AutoEjectUponJobCancellation")) {
8898 }
else if (
element_equal(child_node,
"AutoEjectUponJobCompletion")) {
8900 }
else if (
element_equal(child_node,
"AutoEjectUponMediaFull")) {
8905 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8911 }
else if (
element_equal(child_node,
"MaxTapeFragmentationPercent")) {
8913 }
else if (
element_equal(child_node,
"MaximumAutoVerificationFrequencyInDays")) {
8915 }
else if (
element_equal(child_node,
"MediaEjectionAllowed")) {
8919 }
else if (
element_equal(child_node,
"VerifyPriorToAutoEject")) {
8920 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8926 }
else if (
element_equal(child_node,
"WriteOptimization")) {
8927 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8937 if (error != NULL) {
8946 if (error == NULL) {
8947 *_response = response;
8957 xmlNodePtr child_node;
8962 if (error != NULL) {
8968 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
8974 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8985 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8992 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
8999 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_member_response [%s]\n", child_node->name, root->name);
9002 if (error != NULL) {
9011 if (error == NULL) {
9012 *_response = response;
9022 xmlNodePtr child_node;
9027 if (error != NULL) {
9033 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9036 }
else if (
element_equal(child_node,
"DefaultDataPolicyId")) {
9048 if (error != NULL) {
9057 if (error == NULL) {
9058 *_response = response;
9068 xmlNodePtr child_node;
9073 if (error != NULL) {
9079 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9083 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9095 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9100 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9106 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9108 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9109 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9115 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9120 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_completed_notification_registration_response [%s]\n", child_node->name, root->name);
9123 if (error != NULL) {
9132 if (error == NULL) {
9133 *_response = response;
9143 xmlNodePtr child_node;
9148 if (error != NULL) {
9154 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9158 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9168 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9173 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9179 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9181 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9182 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9188 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9193 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_created_notification_registration_response [%s]\n", child_node->name, root->name);
9196 if (error != NULL) {
9205 if (error == NULL) {
9206 *_response = response;
9216 xmlNodePtr child_node;
9221 if (error != NULL) {
9227 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9231 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9241 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9246 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9252 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9254 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9255 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9261 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9266 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_pool_failure_notification_registration_response [%s]\n", child_node->name, root->name);
9269 if (error != NULL) {
9278 if (error == NULL) {
9279 *_response = response;
9289 xmlNodePtr child_node;
9294 if (error != NULL) {
9300 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9304 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9316 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9321 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9327 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9329 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9330 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9336 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9341 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_cached_notification_registration_response [%s]\n", child_node->name, root->name);
9344 if (error != NULL) {
9353 if (error == NULL) {
9354 *_response = response;
9364 xmlNodePtr child_node;
9369 if (error != NULL) {
9375 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9379 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9389 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9394 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9400 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9402 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9403 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9409 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9414 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_lost_notification_registration_response [%s]\n", child_node->name, root->name);
9417 if (error != NULL) {
9426 if (error == NULL) {
9427 *_response = response;
9437 xmlNodePtr child_node;
9442 if (error != NULL) {
9448 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9452 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9464 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9469 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9475 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9477 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9478 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9484 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9489 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_persisted_notification_registration_response [%s]\n", child_node->name, root->name);
9492 if (error != NULL) {
9501 if (error == NULL) {
9502 *_response = response;
9512 xmlNodePtr child_node;
9517 if (error != NULL) {
9523 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9527 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9537 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9542 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9548 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9550 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9551 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9557 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9562 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_failure_notification_registration_response [%s]\n", child_node->name, root->name);
9565 if (error != NULL) {
9574 if (error == NULL) {
9575 *_response = response;
9585 xmlNodePtr child_node;
9590 if (error != NULL) {
9596 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9600 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9610 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9615 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9621 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9623 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9624 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9630 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9635 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_system_failure_notification_registration_response [%s]\n", child_node->name, root->name);
9638 if (error != NULL) {
9647 if (error == NULL) {
9648 *_response = response;
9658 xmlNodePtr child_node;
9663 if (error != NULL) {
9669 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9673 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9683 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9688 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9694 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9696 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9697 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9703 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9708 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_failure_notification_registration_response [%s]\n", child_node->name, root->name);
9711 if (error != NULL) {
9720 if (error == NULL) {
9721 *_response = response;
9731 xmlNodePtr child_node;
9736 if (error != NULL) {
9742 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9746 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9756 }
else if (
element_equal(child_node,
"LastHttpResponseCode")) {
9761 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9767 }
else if (
element_equal(child_node,
"NotificationEndPoint")) {
9769 }
else if (
element_equal(child_node,
"NotificationHttpMethod")) {
9770 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9776 }
else if (
element_equal(child_node,
"NumberOfFailuresSinceLastSuccess")) {
9781 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_failure_notification_registration_response [%s]\n", child_node->name, root->name);
9784 if (error != NULL) {
9793 if (error == NULL) {
9794 *_response = response;
9804 xmlNodePtr child_node;
9809 if (error != NULL) {
9815 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9816 if (
element_equal(child_node,
"AutoReclaimInitiateThreshold")) {
9818 }
else if (
element_equal(child_node,
"AutoReclaimTerminateThreshold")) {
9824 }
else if (
element_equal(child_node,
"MaxCapacityInBytes")) {
9826 }
else if (
element_equal(child_node,
"MaxPercentUtilizationOfFilesystem")) {
9833 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_filesystem_response [%s]\n", child_node->name, root->name);
9836 if (error != NULL) {
9845 if (error == NULL) {
9846 *_response = response;
9856 xmlNodePtr child_node;
9861 if (error != NULL) {
9867 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9870 }
else if (
element_equal(child_node,
"AvailableCapacity")) {
9877 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9900 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9909 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9920 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9932 if (error != NULL) {
9941 if (error == NULL) {
9942 *_response = response;
9952 xmlNodePtr child_node;
9957 if (error != NULL) {
9963 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
9969 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
9979 if (error != NULL) {
9988 if (error == NULL) {
9989 *_response = response;
9999 xmlNodePtr child_node;
10004 if (error != NULL) {
10010 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10011 if (
element_equal(child_node,
"AssignedToStorageDomain")) {
10013 }
else if (
element_equal(child_node,
"AvailableRawCapacity")) {
10019 }
else if (
element_equal(child_node,
"DescriptionForIdentification")) {
10044 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10045 if (text == NULL) {
10053 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10054 if (text == NULL) {
10061 }
else if (
element_equal(child_node,
"TakeOwnershipPending")) {
10063 }
else if (
element_equal(child_node,
"TotalRawCapacity")) {
10066 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10067 if (text == NULL) {
10073 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10074 if (text == NULL) {
10085 if (error != NULL) {
10094 if (error == NULL) {
10095 *_response = response;
10105 xmlNodePtr child_node;
10110 if (error != NULL) {
10116 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10118 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10119 if (text == NULL) {
10129 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10130 if (text == NULL) {
10136 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_density_directive_response [%s]\n", child_node->name, root->name);
10139 if (error != NULL) {
10148 if (error == NULL) {
10149 *_response = response;
10159 xmlNodePtr child_node;
10164 if (error != NULL) {
10170 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10173 }
else if (
element_equal(child_node,
"ForceTapeRemoval")) {
10184 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10185 if (text == NULL) {
10193 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10194 if (text == NULL) {
10203 if (error != NULL) {
10212 if (error == NULL) {
10213 *_response = response;
10223 xmlNodePtr child_node;
10228 if (error != NULL) {
10234 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10247 if (error != NULL) {
10256 if (error == NULL) {
10257 *_response = response;
10267 xmlNodePtr child_node;
10272 if (error != NULL) {
10278 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10280 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10281 if (text == NULL) {
10290 }
else if (
element_equal(child_node,
"ImportExportConfiguration")) {
10291 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10292 if (text == NULL) {
10302 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10303 if (text == NULL) {
10311 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10312 if (text == NULL) {
10321 if (error != NULL) {
10330 if (error == NULL) {
10331 *_response = response;
10341 xmlNodePtr child_node;
10344 GPtrArray* tasks_array = g_ptr_array_new();
10347 if (error != NULL) {
10353 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10358 g_ptr_array_add(tasks_array, tasks_response);
10360 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_blob_store_tasks_information_response [%s]\n", child_node->name, root->name);
10363 if (error != NULL) {
10370 response->
num_tasks = tasks_array->len;
10371 g_ptr_array_free(tasks_array, FALSE);
10375 if (error == NULL) {
10376 *_response = response;
10386 xmlNodePtr child_node;
10389 GPtrArray* filesystems_array = g_ptr_array_new();
10392 if (error != NULL) {
10398 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10403 g_ptr_array_add(filesystems_array, filesystems_response);
10405 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_information_response [%s]\n", child_node->name, root->name);
10408 if (error != NULL) {
10416 g_ptr_array_free(filesystems_array, FALSE);
10420 if (error == NULL) {
10421 *_response = response;
10431 xmlNodePtr child_node;
10436 if (error != NULL) {
10442 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10452 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_complete_multipart_upload_result_response [%s]\n", child_node->name, root->name);
10455 if (error != NULL) {
10464 if (error == NULL) {
10465 *_response = response;
10475 xmlNodePtr child_node;
10480 if (error != NULL) {
10486 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10487 if (
element_equal(child_node,
"AssignedToStorageDomain")) {
10489 }
else if (
element_equal(child_node,
"AvailableRawCapacity")) {
10495 }
else if (
element_equal(child_node,
"DescriptionForIdentification")) {
10517 }
else if (
element_equal(child_node,
"MostRecentFailure")) {
10522 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10523 if (text == NULL) {
10531 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10532 if (text == NULL) {
10539 }
else if (
element_equal(child_node,
"TakeOwnershipPending")) {
10541 }
else if (
element_equal(child_node,
"TotalRawCapacity")) {
10544 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10545 if (text == NULL) {
10551 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10552 if (text == NULL) {
10563 if (error != NULL) {
10572 if (error == NULL) {
10573 *_response = response;
10583 xmlNodePtr child_node;
10588 if (error != NULL) {
10594 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10596 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10597 if (text == NULL) {
10603 xmlNodePtr loop_node;
10605 GByteArray* enum_array = g_byte_array_new();
10607 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
10608 xmlChar* text = xmlNodeListGetString(doc, loop_node, 1);
10609 if (text == NULL) {
10613 g_byte_array_append(enum_array, (
const guint8*) &drive_types,
sizeof(
ds3_tape_drive_type));
10617 g_byte_array_free(enum_array, FALSE);
10622 }
else if (
element_equal(child_node,
"ImportExportConfiguration")) {
10623 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10624 if (text == NULL) {
10634 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10635 if (text == NULL) {
10643 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10644 if (text == NULL) {
10650 xmlNodePtr loop_node;
10652 GByteArray* enum_array = g_byte_array_new();
10654 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
10655 xmlChar* text = xmlNodeListGetString(doc, loop_node, 1);
10656 if (text == NULL) {
10660 g_byte_array_append(enum_array, (
const guint8*) &tape_types,
sizeof(
ds3_tape_type));
10664 g_byte_array_free(enum_array, FALSE);
10666 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_detailed_tape_partition_response [%s]\n", child_node->name, root->name);
10669 if (error != NULL) {
10678 if (error == NULL) {
10679 *_response = response;
10689 xmlNodePtr child_node;
10694 if (error != NULL) {
10700 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10708 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_initiate_multipart_upload_result_response [%s]\n", child_node->name, root->name);
10711 if (error != NULL) {
10720 if (error == NULL) {
10721 *_response = response;
10731 xmlNodePtr child_node;
10736 if (error != NULL) {
10742 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10745 }
else if (
element_equal(child_node,
"BackendActivated")) {
10747 }
else if (
element_equal(child_node,
"BuildInformation")) {
10752 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_system_information_response [%s]\n", child_node->name, root->name);
10755 if (error != NULL) {
10764 if (error == NULL) {
10765 *_response = response;
10775 xmlNodePtr child_node;
10780 if (error != NULL) {
10786 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10787 if (
element_equal(child_node,
"DatabaseFilesystemFreeSpace")) {
10788 xmlChar* text = xmlNodeListGetString(doc, child_node, 1);
10789 if (text == NULL) {
10794 }
else if (
element_equal(child_node,
"MsRequiredToVerifyDataPlannerHealth")) {
10797 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_health_verification_result_response [%s]\n", child_node->name, root->name);
10800 if (error != NULL) {
10809 if (error == NULL) {
10810 *_response = response;
10820 xmlNodePtr child_node;
10823 GPtrArray* failures_array = g_ptr_array_new();
10826 if (error != NULL) {
10832 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10837 g_ptr_array_add(failures_array, failures_response);
10839 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_failure_list_response [%s]\n", child_node->name, root->name);
10842 if (error != NULL) {
10850 g_ptr_array_free(failures_array, FALSE);
10854 if (error == NULL) {
10855 *_response = response;
10865 xmlNodePtr child_node;
10868 GPtrArray* bucket_acls_array = g_ptr_array_new();
10871 if (error != NULL) {
10877 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10882 g_ptr_array_add(bucket_acls_array, bucket_acls_response);
10884 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_bucket_acl_list_response [%s]\n", child_node->name, root->name);
10887 if (error != NULL) {
10895 g_ptr_array_free(bucket_acls_array, FALSE);
10899 if (error == NULL) {
10900 *_response = response;
10910 xmlNodePtr child_node;
10913 GPtrArray* data_policy_acls_array = g_ptr_array_new();
10916 if (error != NULL) {
10922 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10927 g_ptr_array_add(data_policy_acls_array, data_policy_acls_response);
10929 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_policy_acl_list_response [%s]\n", child_node->name, root->name);
10932 if (error != NULL) {
10940 g_ptr_array_free(data_policy_acls_array, FALSE);
10944 if (error == NULL) {
10945 *_response = response;
10955 xmlNodePtr child_node;
10958 GPtrArray* buckets_array = g_ptr_array_new();
10961 if (error != NULL) {
10967 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
10972 g_ptr_array_add(buckets_array, buckets_response);
10977 if (error != NULL) {
10985 g_ptr_array_free(buckets_array, FALSE);
10989 if (error == NULL) {
10990 *_response = response;
11000 xmlNodePtr child_node;
11003 GPtrArray* cache_filesystems_array = g_ptr_array_new();
11006 if (error != NULL) {
11012 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11017 g_ptr_array_add(cache_filesystems_array, cache_filesystems_response);
11019 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_cache_filesystem_list_response [%s]\n", child_node->name, root->name);
11022 if (error != NULL) {
11030 g_ptr_array_free(cache_filesystems_array, FALSE);
11034 if (error == NULL) {
11035 *_response = response;
11045 xmlNodePtr child_node;
11048 GPtrArray* data_persistence_rules_array = g_ptr_array_new();
11051 if (error != NULL) {
11057 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11062 g_ptr_array_add(data_persistence_rules_array, data_persistence_rules_response);
11064 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_persistence_rule_list_response [%s]\n", child_node->name, root->name);
11067 if (error != NULL) {
11075 g_ptr_array_free(data_persistence_rules_array, FALSE);
11079 if (error == NULL) {
11080 *_response = response;
11090 xmlNodePtr child_node;
11093 GPtrArray* data_policies_array = g_ptr_array_new();
11096 if (error != NULL) {
11102 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11107 g_ptr_array_add(data_policies_array, data_policies_response);
11109 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_data_policy_list_response [%s]\n", child_node->name, root->name);
11112 if (error != NULL) {
11120 g_ptr_array_free(data_policies_array, FALSE);
11124 if (error == NULL) {
11125 *_response = response;
11135 xmlNodePtr child_node;
11138 GPtrArray* group_members_array = g_ptr_array_new();
11141 if (error != NULL) {
11147 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11152 g_ptr_array_add(group_members_array, group_members_response);
11154 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_group_member_list_response [%s]\n", child_node->name, root->name);
11157 if (error != NULL) {
11165 g_ptr_array_free(group_members_array, FALSE);
11169 if (error == NULL) {
11170 *_response = response;
11180 xmlNodePtr child_node;
11183 GPtrArray* groups_array = g_ptr_array_new();
11186 if (error != NULL) {
11192 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11197 g_ptr_array_add(groups_array, groups_response);
11202 if (error != NULL) {
11210 g_ptr_array_free(groups_array, FALSE);
11214 if (error == NULL) {
11215 *_response = response;
11225 xmlNodePtr child_node;
11228 GPtrArray* active_jobs_array = g_ptr_array_new();
11231 if (error != NULL) {
11237 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11242 g_ptr_array_add(active_jobs_array, active_jobs_response);
11244 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_active_job_list_response [%s]\n", child_node->name, root->name);
11247 if (error != NULL) {
11255 g_ptr_array_free(active_jobs_array, FALSE);
11259 if (error == NULL) {
11260 *_response = response;
11270 xmlNodePtr child_node;
11273 GPtrArray* canceled_jobs_array = g_ptr_array_new();
11276 if (error != NULL) {
11282 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11287 g_ptr_array_add(canceled_jobs_array, canceled_jobs_response);
11289 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_canceled_job_list_response [%s]\n", child_node->name, root->name);
11292 if (error != NULL) {
11300 g_ptr_array_free(canceled_jobs_array, FALSE);
11304 if (error == NULL) {
11305 *_response = response;
11315 xmlNodePtr child_node;
11318 GPtrArray* completed_jobs_array = g_ptr_array_new();
11321 if (error != NULL) {
11327 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11332 g_ptr_array_add(completed_jobs_array, completed_jobs_response);
11334 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_completed_job_list_response [%s]\n", child_node->name, root->name);
11337 if (error != NULL) {
11345 g_ptr_array_free(completed_jobs_array, FALSE);
11349 if (error == NULL) {
11350 *_response = response;
11360 xmlNodePtr child_node;
11363 GPtrArray* nodes_array = g_ptr_array_new();
11366 if (error != NULL) {
11372 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11377 g_ptr_array_add(nodes_array, nodes_response);
11382 if (error != NULL) {
11389 response->
num_nodes = nodes_array->len;
11390 g_ptr_array_free(nodes_array, FALSE);
11394 if (error == NULL) {
11395 *_response = response;
11405 xmlNodePtr child_node;
11408 GPtrArray* job_completed_notification_registrations_array = g_ptr_array_new();
11411 if (error != NULL) {
11417 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11418 if (
element_equal(child_node,
"JobCompletedNotificationRegistration")) {
11422 g_ptr_array_add(job_completed_notification_registrations_array, job_completed_notification_registrations_response);
11424 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_completed_notification_registration_list_response [%s]\n", child_node->name, root->name);
11427 if (error != NULL) {
11435 g_ptr_array_free(job_completed_notification_registrations_array, FALSE);
11439 if (error == NULL) {
11440 *_response = response;
11450 xmlNodePtr child_node;
11453 GPtrArray* job_created_notification_registrations_array = g_ptr_array_new();
11456 if (error != NULL) {
11462 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11463 if (
element_equal(child_node,
"JobCreatedNotificationRegistration")) {
11467 g_ptr_array_add(job_created_notification_registrations_array, job_created_notification_registrations_response);
11469 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_job_created_notification_registration_list_response [%s]\n", child_node->name, root->name);
11472 if (error != NULL) {
11480 g_ptr_array_free(job_created_notification_registrations_array, FALSE);
11484 if (error == NULL) {
11485 *_response = response;
11495 xmlNodePtr child_node;
11498 GPtrArray* s3_object_cached_notification_registrations_array = g_ptr_array_new();
11501 if (error != NULL) {
11507 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11508 if (
element_equal(child_node,
"S3ObjectCachedNotificationRegistration")) {
11512 g_ptr_array_add(s3_object_cached_notification_registrations_array, s3_object_cached_notification_registrations_response);
11514 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_cached_notification_registration_list_response [%s]\n", child_node->name, root->name);
11517 if (error != NULL) {
11525 g_ptr_array_free(s3_object_cached_notification_registrations_array, FALSE);
11529 if (error == NULL) {
11530 *_response = response;
11540 xmlNodePtr child_node;
11543 GPtrArray* s3_object_lost_notification_registrations_array = g_ptr_array_new();
11546 if (error != NULL) {
11552 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11553 if (
element_equal(child_node,
"S3ObjectLostNotificationRegistration")) {
11557 g_ptr_array_add(s3_object_lost_notification_registrations_array, s3_object_lost_notification_registrations_response);
11559 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_lost_notification_registration_list_response [%s]\n", child_node->name, root->name);
11562 if (error != NULL) {
11570 g_ptr_array_free(s3_object_lost_notification_registrations_array, FALSE);
11574 if (error == NULL) {
11575 *_response = response;
11585 xmlNodePtr child_node;
11588 GPtrArray* s3_object_persisted_notification_registrations_array = g_ptr_array_new();
11591 if (error != NULL) {
11597 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11598 if (
element_equal(child_node,
"S3ObjectPersistedNotificationRegistration")) {
11602 g_ptr_array_add(s3_object_persisted_notification_registrations_array, s3_object_persisted_notification_registrations_response);
11604 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_s3_object_persisted_notification_registration_list_response [%s]\n", child_node->name, root->name);
11607 if (error != NULL) {
11615 g_ptr_array_free(s3_object_persisted_notification_registrations_array, FALSE);
11619 if (error == NULL) {
11620 *_response = response;
11630 xmlNodePtr child_node;
11633 GPtrArray* pool_failure_notification_registrations_array = g_ptr_array_new();
11636 if (error != NULL) {
11642 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11643 if (
element_equal(child_node,
"PoolFailureNotificationRegistration")) {
11647 g_ptr_array_add(pool_failure_notification_registrations_array, pool_failure_notification_registrations_response);
11649 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_pool_failure_notification_registration_list_response [%s]\n", child_node->name, root->name);
11652 if (error != NULL) {
11660 g_ptr_array_free(pool_failure_notification_registrations_array, FALSE);
11664 if (error == NULL) {
11665 *_response = response;
11675 xmlNodePtr child_node;
11678 GPtrArray* storage_domain_failure_notification_registrations_array = g_ptr_array_new();
11681 if (error != NULL) {
11687 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11688 if (
element_equal(child_node,
"StorageDomainFailureNotificationRegistration")) {
11692 g_ptr_array_add(storage_domain_failure_notification_registrations_array, storage_domain_failure_notification_registrations_response);
11694 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_failure_notification_registration_list_response [%s]\n", child_node->name, root->name);
11697 if (error != NULL) {
11705 g_ptr_array_free(storage_domain_failure_notification_registrations_array, FALSE);
11709 if (error == NULL) {
11710 *_response = response;
11720 xmlNodePtr child_node;
11723 GPtrArray* system_failure_notification_registrations_array = g_ptr_array_new();
11726 if (error != NULL) {
11732 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11733 if (
element_equal(child_node,
"SystemFailureNotificationRegistration")) {
11737 g_ptr_array_add(system_failure_notification_registrations_array, system_failure_notification_registrations_response);
11739 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_system_failure_notification_registration_list_response [%s]\n", child_node->name, root->name);
11742 if (error != NULL) {
11750 g_ptr_array_free(system_failure_notification_registrations_array, FALSE);
11754 if (error == NULL) {
11755 *_response = response;
11765 xmlNodePtr child_node;
11768 GPtrArray* tape_failure_notification_registrations_array = g_ptr_array_new();
11771 if (error != NULL) {
11777 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11778 if (
element_equal(child_node,
"TapeFailureNotificationRegistration")) {
11782 g_ptr_array_add(tape_failure_notification_registrations_array, tape_failure_notification_registrations_response);
11784 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_failure_notification_registration_list_response [%s]\n", child_node->name, root->name);
11787 if (error != NULL) {
11795 g_ptr_array_free(tape_failure_notification_registrations_array, FALSE);
11799 if (error == NULL) {
11800 *_response = response;
11810 xmlNodePtr child_node;
11813 GPtrArray* tape_partition_failure_notification_registrations_array = g_ptr_array_new();
11816 if (error != NULL) {
11822 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11823 if (
element_equal(child_node,
"TapePartitionFailureNotificationRegistration")) {
11827 g_ptr_array_add(tape_partition_failure_notification_registrations_array, tape_partition_failure_notification_registrations_response);
11829 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_failure_notification_registration_list_response [%s]\n", child_node->name, root->name);
11832 if (error != NULL) {
11840 g_ptr_array_free(tape_partition_failure_notification_registrations_array, FALSE);
11844 if (error == NULL) {
11845 *_response = response;
11855 xmlNodePtr child_node;
11858 GPtrArray* s3_objects_array = g_ptr_array_new();
11861 if (error != NULL) {
11867 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11872 g_ptr_array_add(s3_objects_array, s3_objects_response);
11877 if (error != NULL) {
11885 g_ptr_array_free(s3_objects_array, FALSE);
11889 if (error == NULL) {
11890 *_response = response;
11900 xmlNodePtr child_node;
11903 GPtrArray* pool_failures_array = g_ptr_array_new();
11906 if (error != NULL) {
11912 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11917 g_ptr_array_add(pool_failures_array, pool_failures_response);
11919 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_pool_failure_list_response [%s]\n", child_node->name, root->name);
11922 if (error != NULL) {
11930 g_ptr_array_free(pool_failures_array, FALSE);
11934 if (error == NULL) {
11935 *_response = response;
11945 xmlNodePtr child_node;
11948 GPtrArray* pool_partitions_array = g_ptr_array_new();
11951 if (error != NULL) {
11957 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
11962 g_ptr_array_add(pool_partitions_array, pool_partitions_response);
11964 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_pool_partition_list_response [%s]\n", child_node->name, root->name);
11967 if (error != NULL) {
11975 g_ptr_array_free(pool_partitions_array, FALSE);
11979 if (error == NULL) {
11980 *_response = response;
11990 xmlNodePtr child_node;
11993 GPtrArray* pools_array = g_ptr_array_new();
11996 if (error != NULL) {
12002 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12007 g_ptr_array_add(pools_array, pools_response);
12012 if (error != NULL) {
12019 response->
num_pools = pools_array->len;
12020 g_ptr_array_free(pools_array, FALSE);
12024 if (error == NULL) {
12025 *_response = response;
12035 xmlNodePtr child_node;
12038 GPtrArray* storage_domain_failures_array = g_ptr_array_new();
12041 if (error != NULL) {
12047 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12052 g_ptr_array_add(storage_domain_failures_array, storage_domain_failures_response);
12054 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_failure_list_response [%s]\n", child_node->name, root->name);
12057 if (error != NULL) {
12065 g_ptr_array_free(storage_domain_failures_array, FALSE);
12069 if (error == NULL) {
12070 *_response = response;
12080 xmlNodePtr child_node;
12083 GPtrArray* storage_domain_members_array = g_ptr_array_new();
12086 if (error != NULL) {
12092 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12097 g_ptr_array_add(storage_domain_members_array, storage_domain_members_response);
12099 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_member_list_response [%s]\n", child_node->name, root->name);
12102 if (error != NULL) {
12110 g_ptr_array_free(storage_domain_members_array, FALSE);
12114 if (error == NULL) {
12115 *_response = response;
12125 xmlNodePtr child_node;
12128 GPtrArray* storage_domains_array = g_ptr_array_new();
12131 if (error != NULL) {
12137 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12142 g_ptr_array_add(storage_domains_array, storage_domains_response);
12144 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_storage_domain_list_response [%s]\n", child_node->name, root->name);
12147 if (error != NULL) {
12155 g_ptr_array_free(storage_domains_array, FALSE);
12159 if (error == NULL) {
12160 *_response = response;
12170 xmlNodePtr child_node;
12173 GPtrArray* system_failures_array = g_ptr_array_new();
12176 if (error != NULL) {
12182 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12187 g_ptr_array_add(system_failures_array, system_failures_response);
12189 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_system_failure_list_response [%s]\n", child_node->name, root->name);
12192 if (error != NULL) {
12200 g_ptr_array_free(system_failures_array, FALSE);
12204 if (error == NULL) {
12205 *_response = response;
12215 xmlNodePtr child_node;
12218 GPtrArray* tape_density_directives_array = g_ptr_array_new();
12221 if (error != NULL) {
12227 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12232 g_ptr_array_add(tape_density_directives_array, tape_density_directives_response);
12234 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_density_directive_list_response [%s]\n", child_node->name, root->name);
12237 if (error != NULL) {
12245 g_ptr_array_free(tape_density_directives_array, FALSE);
12249 if (error == NULL) {
12250 *_response = response;
12260 xmlNodePtr child_node;
12263 GPtrArray* tape_drives_array = g_ptr_array_new();
12266 if (error != NULL) {
12272 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12277 g_ptr_array_add(tape_drives_array, tape_drives_response);
12279 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_drive_list_response [%s]\n", child_node->name, root->name);
12282 if (error != NULL) {
12290 g_ptr_array_free(tape_drives_array, FALSE);
12294 if (error == NULL) {
12295 *_response = response;
12305 xmlNodePtr child_node;
12308 GPtrArray* detailed_tape_failures_array = g_ptr_array_new();
12311 if (error != NULL) {
12317 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12322 g_ptr_array_add(detailed_tape_failures_array, detailed_tape_failures_response);
12324 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_detailed_tape_failure_list_response [%s]\n", child_node->name, root->name);
12327 if (error != NULL) {
12335 g_ptr_array_free(detailed_tape_failures_array, FALSE);
12339 if (error == NULL) {
12340 *_response = response;
12350 xmlNodePtr child_node;
12353 GPtrArray* tape_libraries_array = g_ptr_array_new();
12356 if (error != NULL) {
12362 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12367 g_ptr_array_add(tape_libraries_array, tape_libraries_response);
12369 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_library_list_response [%s]\n", child_node->name, root->name);
12372 if (error != NULL) {
12380 g_ptr_array_free(tape_libraries_array, FALSE);
12384 if (error == NULL) {
12385 *_response = response;
12395 xmlNodePtr child_node;
12398 GPtrArray* tape_partition_failures_array = g_ptr_array_new();
12401 if (error != NULL) {
12407 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12412 g_ptr_array_add(tape_partition_failures_array, tape_partition_failures_response);
12414 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_failure_list_response [%s]\n", child_node->name, root->name);
12417 if (error != NULL) {
12425 g_ptr_array_free(tape_partition_failures_array, FALSE);
12429 if (error == NULL) {
12430 *_response = response;
12440 xmlNodePtr child_node;
12443 GPtrArray* tape_partitions_array = g_ptr_array_new();
12446 if (error != NULL) {
12452 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12457 g_ptr_array_add(tape_partitions_array, tape_partitions_response);
12459 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_tape_partition_list_response [%s]\n", child_node->name, root->name);
12462 if (error != NULL) {
12470 g_ptr_array_free(tape_partitions_array, FALSE);
12474 if (error == NULL) {
12475 *_response = response;
12485 xmlNodePtr child_node;
12488 GPtrArray* named_detailed_tape_partitions_array = g_ptr_array_new();
12491 if (error != NULL) {
12497 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12498 if (
element_equal(child_node,
"NamedDetailedTapePartition")) {
12502 g_ptr_array_add(named_detailed_tape_partitions_array, named_detailed_tape_partitions_response);
12504 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_named_detailed_tape_partition_list_response [%s]\n", child_node->name, root->name);
12507 if (error != NULL) {
12515 g_ptr_array_free(named_detailed_tape_partitions_array, FALSE);
12519 if (error == NULL) {
12520 *_response = response;
12530 xmlNodePtr child_node;
12533 GPtrArray* tapes_array = g_ptr_array_new();
12536 if (error != NULL) {
12542 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12547 g_ptr_array_add(tapes_array, tapes_response);
12552 if (error != NULL) {
12559 response->
num_tapes = tapes_array->len;
12560 g_ptr_array_free(tapes_array, FALSE);
12564 if (error == NULL) {
12565 *_response = response;
12575 xmlNodePtr child_node;
12578 GPtrArray* named_detailed_tapes_array = g_ptr_array_new();
12581 if (error != NULL) {
12587 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12592 g_ptr_array_add(named_detailed_tapes_array, named_detailed_tapes_response);
12594 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_named_detailed_tape_list_response [%s]\n", child_node->name, root->name);
12597 if (error != NULL) {
12605 g_ptr_array_free(named_detailed_tapes_array, FALSE);
12609 if (error == NULL) {
12610 *_response = response;
12620 xmlNodePtr child_node;
12623 GPtrArray* spectra_users_array = g_ptr_array_new();
12626 if (error != NULL) {
12632 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12637 g_ptr_array_add(spectra_users_array, spectra_users_response);
12639 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_spectra_user_list_response [%s]\n", child_node->name, root->name);
12642 if (error != NULL) {
12650 g_ptr_array_free(spectra_users_array, FALSE);
12654 if (error == NULL) {
12655 *_response = response;
12665 xmlNodePtr child_node;
12670 if (error != NULL) {
12676 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12678 GPtrArray* pools_array;
12681 response->
num_pools = pools_array->len;
12682 g_ptr_array_free(pools_array, FALSE);
12684 GPtrArray* tapes_array;
12687 response->
num_tapes = tapes_array->len;
12688 g_ptr_array_free(tapes_array, FALSE);
12690 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_physical_placement_response [%s]\n", child_node->name, root->name);
12693 if (error != NULL) {
12702 if (error == NULL) {
12703 *_response = response;
12713 xmlNodePtr child_node;
12718 if (error != NULL) {
12724 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12730 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_capacity_summary_container_response [%s]\n", child_node->name, root->name);
12733 if (error != NULL) {
12742 if (error == NULL) {
12743 *_response = response;
12753 xmlNodePtr child_node;
12756 GPtrArray* objects_array = g_ptr_array_new();
12759 if (error != NULL) {
12765 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12770 g_ptr_array_add(objects_array, objects_response);
12772 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_bulk_object_list_response [%s]\n", child_node->name, root->name);
12775 if (error != NULL) {
12783 g_ptr_array_free(objects_array, FALSE);
12787 if (error == NULL) {
12788 *_response = response;
12798 xmlNodePtr child_node;
12803 if (error != NULL) {
12809 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12811 GPtrArray* buckets_array;
12815 g_ptr_array_free(buckets_array, FALSE);
12819 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_list_all_my_buckets_result_response [%s]\n", child_node->name, root->name);
12822 if (error != NULL) {
12831 if (error == NULL) {
12832 *_response = response;
12842 xmlNodePtr child_node;
12845 GPtrArray* deleted_objects_array = g_ptr_array_new();
12846 GPtrArray* errors_array = g_ptr_array_new();
12849 if (error != NULL) {
12855 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12860 g_ptr_array_add(deleted_objects_array, deleted_objects_response);
12865 g_ptr_array_add(errors_array, errors_response);
12870 if (error != NULL) {
12878 g_ptr_array_free(deleted_objects_array, FALSE);
12881 g_ptr_array_free(errors_array, FALSE);
12885 if (error == NULL) {
12886 *_response = response;
12896 xmlNodePtr child_node;
12897 struct _xmlAttr* attribute;
12900 GPtrArray* objects_array = g_ptr_array_new();
12903 if (error != NULL) {
12908 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
12919 if (error != NULL) {
12925 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
12930 g_ptr_array_add(objects_array, objects_response);
12935 if (error != NULL) {
12943 g_ptr_array_free(objects_array, FALSE);
12947 if (error == NULL) {
12948 *_response = response;
12958 xmlNodePtr child_node;
12959 struct _xmlAttr* attribute;
12962 GPtrArray* objects_array = g_ptr_array_new();
12965 if (error != NULL) {
12970 for (attribute = root->properties; attribute != NULL; attribute = attribute->next) {
12975 }
else if (
attribute_equal(attribute,
"CachedSizeInBytes") ==
true) {
12977 }
else if (
attribute_equal(attribute,
"ChunkClientProcessingOrderGuarantee") ==
true) {
12978 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
12979 if (text == NULL) {
12984 }
else if (
attribute_equal(attribute,
"CompletedSizeInBytes") ==
true) {
12992 }
else if (
attribute_equal(attribute,
"OriginalSizeInBytes") ==
true) {
12995 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
12996 if (text == NULL) {
13002 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
13003 if (text == NULL) {
13011 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
13012 if (text == NULL) {
13021 }
else if (
attribute_equal(attribute,
"WriteOptimization") ==
true) {
13022 xmlChar* text = xmlNodeListGetString(doc, attribute->children, 1);
13023 if (text == NULL) {
13029 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown attribute[%s] of ds3_master_object_list_response [%s]\n", attribute->name, root->name);
13032 if (error != NULL) {
13038 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13040 GPtrArray* nodes_array;
13043 response->
num_nodes = nodes_array->len;
13044 g_ptr_array_free(nodes_array, FALSE);
13049 g_ptr_array_add(objects_array, objects_response);
13051 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_master_object_list_response [%s]\n", child_node->name, root->name);
13054 if (error != NULL) {
13062 g_ptr_array_free(objects_array, FALSE);
13066 if (error == NULL) {
13067 *_response = response;
13077 xmlNodePtr child_node;
13080 GPtrArray* jobs_array = g_ptr_array_new();
13083 if (error != NULL) {
13089 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13094 g_ptr_array_add(jobs_array, jobs_response);
13099 if (error != NULL) {
13106 response->
num_jobs = jobs_array->len;
13107 g_ptr_array_free(jobs_array, FALSE);
13111 if (error == NULL) {
13112 *_response = response;
13122 xmlNodePtr child_node;
13125 GPtrArray* parts_array = g_ptr_array_new();
13128 if (error != NULL) {
13134 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13141 }
else if (
element_equal(child_node,
"NextPartNumberMarker")) {
13145 }
else if (
element_equal(child_node,
"PartNumberMarker")) {
13151 g_ptr_array_add(parts_array, parts_response);
13157 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_list_parts_result_response [%s]\n", child_node->name, root->name);
13160 if (error != NULL) {
13167 response->
num_parts = parts_array->len;
13168 g_ptr_array_free(parts_array, FALSE);
13172 if (error == NULL) {
13173 *_response = response;
13183 xmlNodePtr child_node;
13186 GPtrArray* detailed_s3_objects_array = g_ptr_array_new();
13189 if (error != NULL) {
13195 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13200 g_ptr_array_add(detailed_s3_objects_array, detailed_s3_objects_response);
13202 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_detailed_s3_object_list_response [%s]\n", child_node->name, root->name);
13205 if (error != NULL) {
13213 g_ptr_array_free(detailed_s3_objects_array, FALSE);
13217 if (error == NULL) {
13218 *_response = response;
13228 xmlNodePtr child_node;
13231 GPtrArray* objects_array = g_ptr_array_new();
13234 if (error != NULL) {
13240 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13242 xmlNodePtr loop_node;
13243 GPtrArray* common_prefixes_array = g_ptr_array_new();
13245 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
13247 g_ptr_array_add(common_prefixes_array, common_prefixes);
13251 g_ptr_array_free(common_prefixes_array, FALSE);
13268 g_ptr_array_add(objects_array, objects_response);
13274 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_list_bucket_result_response [%s]\n", child_node->name, root->name);
13277 if (error != NULL) {
13285 g_ptr_array_free(objects_array, FALSE);
13289 if (error == NULL) {
13290 *_response = response;
13300 xmlNodePtr child_node;
13303 GPtrArray* uploads_array = g_ptr_array_new();
13306 if (error != NULL) {
13312 for (child_node = root->xmlChildrenNode; child_node != NULL; child_node = child_node->next) {
13316 xmlNodePtr loop_node;
13317 GPtrArray* common_prefixes_array = g_ptr_array_new();
13319 for (loop_node = child_node->xmlChildrenNode; loop_node != NULL; loop_node = loop_node->next, num_nodes++) {
13321 g_ptr_array_add(common_prefixes_array, common_prefixes);
13325 g_ptr_array_free(common_prefixes_array, FALSE);
13334 }
else if (
element_equal(child_node,
"NextUploadIdMarker")) {
13346 g_ptr_array_add(uploads_array, uploads_response);
13348 ds3_log_message(client->
log,
DS3_ERROR,
"Unknown node[%s] of ds3_list_multi_part_uploads_result_response [%s]\n", child_node->name, root->name);
13351 if (error != NULL) {
13359 g_ptr_array_free(uploads_array, FALSE);
13363 if (error == NULL) {
13364 *_response = response;
13373 if (client == NULL || request == NULL) {
13376 if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13389 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13391 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13397 if (error == NULL) {
13399 *_metadata = metadata;
13413 if (error == NULL) {
13415 *_metadata = metadata;
13425 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13427 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13435 ds3_xml_send_buff send_buff;
13436 GByteArray* xml_blob;
13439 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13441 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13446 if (error != NULL)
return error;
13448 xml_blob = g_byte_array_new();
13452 xmlFree(send_buff.buff);
13454 if (error != NULL) {
13455 g_byte_array_free(xml_blob, TRUE);
13472 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13474 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13483 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13485 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13502 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13504 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13512 ds3_xml_send_buff send_buff;
13513 GByteArray* xml_blob;
13520 if (error != NULL)
return error;
13522 xml_blob = g_byte_array_new();
13526 xmlFree(send_buff.buff);
13528 if (error != NULL) {
13529 g_byte_array_free(xml_blob, TRUE);
13537 GByteArray* xml_blob;
13543 xml_blob = g_byte_array_new();
13545 if (error != NULL) {
13546 g_byte_array_free(xml_blob, TRUE);
13554 GByteArray* xml_blob;
13558 xml_blob = g_byte_array_new();
13560 if (error != NULL) {
13561 g_byte_array_free(xml_blob, TRUE);
13570 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13572 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13580 GByteArray* xml_blob;
13583 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13585 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13589 xml_blob = g_byte_array_new();
13591 if (error != NULL) {
13592 g_byte_array_free(xml_blob, TRUE);
13600 GByteArray* xml_blob;
13603 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13605 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13609 xml_blob = g_byte_array_new();
13611 if (error != NULL) {
13612 g_byte_array_free(xml_blob, TRUE);
13620 GByteArray* xml_blob;
13626 xml_blob = g_byte_array_new();
13628 if (error != NULL) {
13629 g_byte_array_free(xml_blob, TRUE);
13637 GByteArray* xml_blob;
13643 xml_blob = g_byte_array_new();
13645 if (error != NULL) {
13646 g_byte_array_free(xml_blob, TRUE);
13654 GByteArray* xml_blob;
13660 xml_blob = g_byte_array_new();
13662 if (error != NULL) {
13663 g_byte_array_free(xml_blob, TRUE);
13671 GByteArray* xml_blob;
13677 xml_blob = g_byte_array_new();
13679 if (error != NULL) {
13680 g_byte_array_free(xml_blob, TRUE);
13688 GByteArray* xml_blob;
13694 xml_blob = g_byte_array_new();
13696 if (error != NULL) {
13697 g_byte_array_free(xml_blob, TRUE);
13705 GByteArray* xml_blob;
13711 xml_blob = g_byte_array_new();
13713 if (error != NULL) {
13714 g_byte_array_free(xml_blob, TRUE);
13722 GByteArray* xml_blob;
13728 xml_blob = g_byte_array_new();
13730 if (error != NULL) {
13731 g_byte_array_free(xml_blob, TRUE);
13739 GByteArray* xml_blob;
13745 xml_blob = g_byte_array_new();
13747 if (error != NULL) {
13748 g_byte_array_free(xml_blob, TRUE);
13756 GByteArray* xml_blob;
13762 xml_blob = g_byte_array_new();
13764 if (error != NULL) {
13765 g_byte_array_free(xml_blob, TRUE);
13774 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13776 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13785 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13787 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13795 GByteArray* xml_blob;
13798 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13800 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13804 xml_blob = g_byte_array_new();
13806 if (error != NULL) {
13807 g_byte_array_free(xml_blob, TRUE);
13815 GByteArray* xml_blob;
13821 xml_blob = g_byte_array_new();
13823 if (error != NULL) {
13824 g_byte_array_free(xml_blob, TRUE);
13832 GByteArray* xml_blob;
13835 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13837 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13841 xml_blob = g_byte_array_new();
13843 if (error != NULL) {
13844 g_byte_array_free(xml_blob, TRUE);
13852 GByteArray* xml_blob;
13858 xml_blob = g_byte_array_new();
13860 if (error != NULL) {
13861 g_byte_array_free(xml_blob, TRUE);
13869 GByteArray* xml_blob;
13875 xml_blob = g_byte_array_new();
13877 if (error != NULL) {
13878 g_byte_array_free(xml_blob, TRUE);
13887 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13889 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13897 GByteArray* xml_blob;
13900 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13902 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13906 xml_blob = g_byte_array_new();
13908 if (error != NULL) {
13909 g_byte_array_free(xml_blob, TRUE);
13917 GByteArray* xml_blob;
13923 xml_blob = g_byte_array_new();
13925 if (error != NULL) {
13926 g_byte_array_free(xml_blob, TRUE);
13934 GByteArray* xml_blob;
13937 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13939 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13943 xml_blob = g_byte_array_new();
13945 if (error != NULL) {
13946 g_byte_array_free(xml_blob, TRUE);
13962 GByteArray* xml_blob;
13965 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
13967 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
13971 xml_blob = g_byte_array_new();
13973 if (error != NULL) {
13974 g_byte_array_free(xml_blob, TRUE);
13982 GByteArray* xml_blob;
13988 xml_blob = g_byte_array_new();
13990 if (error != NULL) {
13991 g_byte_array_free(xml_blob, TRUE);
13999 GByteArray* xml_blob;
14005 xml_blob = g_byte_array_new();
14007 if (error != NULL) {
14008 g_byte_array_free(xml_blob, TRUE);
14016 GByteArray* xml_blob;
14019 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14021 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14025 xml_blob = g_byte_array_new();
14027 if (error != NULL) {
14028 g_byte_array_free(xml_blob, TRUE);
14036 GByteArray* xml_blob;
14040 xml_blob = g_byte_array_new();
14042 if (error != NULL) {
14043 g_byte_array_free(xml_blob, TRUE);
14051 GByteArray* xml_blob;
14055 xml_blob = g_byte_array_new();
14057 if (error != NULL) {
14058 g_byte_array_free(xml_blob, TRUE);
14066 GByteArray* xml_blob;
14070 xml_blob = g_byte_array_new();
14072 if (error != NULL) {
14073 g_byte_array_free(xml_blob, TRUE);
14081 GByteArray* xml_blob;
14085 xml_blob = g_byte_array_new();
14087 if (error != NULL) {
14088 g_byte_array_free(xml_blob, TRUE);
14096 GByteArray* xml_blob;
14102 xml_blob = g_byte_array_new();
14104 if (error != NULL) {
14105 g_byte_array_free(xml_blob, TRUE);
14113 GByteArray* xml_blob;
14117 xml_blob = g_byte_array_new();
14119 if (error != NULL) {
14120 g_byte_array_free(xml_blob, TRUE);
14128 GByteArray* xml_blob;
14134 xml_blob = g_byte_array_new();
14136 if (error != NULL) {
14137 g_byte_array_free(xml_blob, TRUE);
14145 GByteArray* xml_blob;
14151 xml_blob = g_byte_array_new();
14153 if (error != NULL) {
14154 g_byte_array_free(xml_blob, TRUE);
14163 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14165 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14174 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14176 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14184 GByteArray* xml_blob;
14187 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14189 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14193 xml_blob = g_byte_array_new();
14195 if (error != NULL) {
14196 g_byte_array_free(xml_blob, TRUE);
14204 GByteArray* xml_blob;
14210 xml_blob = g_byte_array_new();
14212 if (error != NULL) {
14213 g_byte_array_free(xml_blob, TRUE);
14221 GByteArray* xml_blob;
14227 xml_blob = g_byte_array_new();
14229 if (error != NULL) {
14230 g_byte_array_free(xml_blob, TRUE);
14238 GByteArray* xml_blob;
14241 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14243 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14247 xml_blob = g_byte_array_new();
14249 if (error != NULL) {
14250 g_byte_array_free(xml_blob, TRUE);
14258 GByteArray* xml_blob;
14261 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14263 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14267 xml_blob = g_byte_array_new();
14269 if (error != NULL) {
14270 g_byte_array_free(xml_blob, TRUE);
14278 GByteArray* xml_blob;
14281 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14283 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14287 xml_blob = g_byte_array_new();
14289 if (error != NULL) {
14290 g_byte_array_free(xml_blob, TRUE);
14298 GByteArray* xml_blob;
14304 xml_blob = g_byte_array_new();
14306 if (error != NULL) {
14307 g_byte_array_free(xml_blob, TRUE);
14315 GByteArray* xml_blob;
14321 xml_blob = g_byte_array_new();
14323 if (error != NULL) {
14324 g_byte_array_free(xml_blob, TRUE);
14332 GByteArray* xml_blob;
14338 xml_blob = g_byte_array_new();
14340 if (error != NULL) {
14341 g_byte_array_free(xml_blob, TRUE);
14349 GByteArray* xml_blob;
14355 xml_blob = g_byte_array_new();
14357 if (error != NULL) {
14358 g_byte_array_free(xml_blob, TRUE);
14366 GByteArray* xml_blob;
14372 xml_blob = g_byte_array_new();
14374 if (error != NULL) {
14375 g_byte_array_free(xml_blob, TRUE);
14384 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14386 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14395 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14397 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14405 GByteArray* xml_blob;
14408 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14410 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14414 xml_blob = g_byte_array_new();
14416 if (error != NULL) {
14417 g_byte_array_free(xml_blob, TRUE);
14425 GByteArray* xml_blob;
14431 xml_blob = g_byte_array_new();
14433 if (error != NULL) {
14434 g_byte_array_free(xml_blob, TRUE);
14442 GByteArray* xml_blob;
14445 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14447 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14451 xml_blob = g_byte_array_new();
14453 if (error != NULL) {
14454 g_byte_array_free(xml_blob, TRUE);
14462 GByteArray* xml_blob;
14468 xml_blob = g_byte_array_new();
14470 if (error != NULL) {
14471 g_byte_array_free(xml_blob, TRUE);
14479 GByteArray* xml_blob;
14482 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14484 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14488 xml_blob = g_byte_array_new();
14490 if (error != NULL) {
14491 g_byte_array_free(xml_blob, TRUE);
14499 GByteArray* xml_blob;
14502 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14504 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14508 xml_blob = g_byte_array_new();
14510 if (error != NULL) {
14511 g_byte_array_free(xml_blob, TRUE);
14519 GByteArray* xml_blob;
14522 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14524 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14528 xml_blob = g_byte_array_new();
14530 if (error != NULL) {
14531 g_byte_array_free(xml_blob, TRUE);
14548 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14550 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14574 ds3_xml_send_buff send_buff;
14575 GByteArray* xml_blob;
14578 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14580 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14585 if (error != NULL)
return error;
14587 xml_blob = g_byte_array_new();
14591 xmlFree(send_buff.buff);
14593 if (error != NULL) {
14594 g_byte_array_free(xml_blob, TRUE);
14602 ds3_xml_send_buff send_buff;
14603 GByteArray* xml_blob;
14606 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14608 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14613 if (error != NULL)
return error;
14615 xml_blob = g_byte_array_new();
14619 xmlFree(send_buff.buff);
14621 if (error != NULL) {
14622 g_byte_array_free(xml_blob, TRUE);
14630 ds3_xml_send_buff send_buff;
14631 GByteArray* xml_blob;
14634 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14636 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14641 if (error != NULL)
return error;
14643 xml_blob = g_byte_array_new();
14647 xmlFree(send_buff.buff);
14649 if (error != NULL) {
14650 g_byte_array_free(xml_blob, TRUE);
14658 GByteArray* xml_blob;
14664 xml_blob = g_byte_array_new();
14666 if (error != NULL) {
14667 g_byte_array_free(xml_blob, TRUE);
14675 GByteArray* xml_blob;
14681 xml_blob = g_byte_array_new();
14683 if (error != NULL) {
14684 g_byte_array_free(xml_blob, TRUE);
14692 GByteArray* xml_blob;
14698 xml_blob = g_byte_array_new();
14700 if (error != NULL) {
14701 g_byte_array_free(xml_blob, TRUE);
14709 GByteArray* xml_blob;
14712 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14714 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14718 xml_blob = g_byte_array_new();
14720 if (error != NULL) {
14721 g_byte_array_free(xml_blob, TRUE);
14729 GByteArray* xml_blob;
14735 xml_blob = g_byte_array_new();
14737 if (error != NULL) {
14738 g_byte_array_free(xml_blob, TRUE);
14746 GByteArray* xml_blob;
14749 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14751 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14755 xml_blob = g_byte_array_new();
14757 if (error != NULL) {
14758 g_byte_array_free(xml_blob, TRUE);
14766 GByteArray* xml_blob;
14772 xml_blob = g_byte_array_new();
14774 if (error != NULL) {
14775 g_byte_array_free(xml_blob, TRUE);
14783 GByteArray* xml_blob;
14786 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14788 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14792 xml_blob = g_byte_array_new();
14794 if (error != NULL) {
14795 g_byte_array_free(xml_blob, TRUE);
14799 response->
value = (
char*)xml_blob->data;
14800 response->
size = xml_blob->len;
14801 g_byte_array_free(xml_blob, FALSE);
14806 GByteArray* xml_blob;
14809 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14811 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14815 xml_blob = g_byte_array_new();
14817 if (error != NULL) {
14818 g_byte_array_free(xml_blob, TRUE);
14826 ds3_xml_send_buff send_buff;
14827 GByteArray* xml_blob;
14830 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14832 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14837 if (error != NULL)
return error;
14839 xml_blob = g_byte_array_new();
14843 xmlFree(send_buff.buff);
14845 if (error != NULL) {
14846 g_byte_array_free(xml_blob, TRUE);
14854 GByteArray* xml_blob;
14857 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14859 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14863 xml_blob = g_byte_array_new();
14865 if (error != NULL) {
14866 g_byte_array_free(xml_blob, TRUE);
14874 GByteArray* xml_blob;
14880 xml_blob = g_byte_array_new();
14882 if (error != NULL) {
14883 g_byte_array_free(xml_blob, TRUE);
14891 GByteArray* xml_blob;
14894 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
14896 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
14900 xml_blob = g_byte_array_new();
14902 if (error != NULL) {
14903 g_byte_array_free(xml_blob, TRUE);
14911 GByteArray* xml_blob;
14917 xml_blob = g_byte_array_new();
14919 if (error != NULL) {
14920 g_byte_array_free(xml_blob, TRUE);
14928 GByteArray* xml_blob;
14934 xml_blob = g_byte_array_new();
14936 if (error != NULL) {
14937 g_byte_array_free(xml_blob, TRUE);
14945 GByteArray* xml_blob;
14951 xml_blob = g_byte_array_new();
14953 if (error != NULL) {
14954 g_byte_array_free(xml_blob, TRUE);
14962 GByteArray* xml_blob;
14968 xml_blob = g_byte_array_new();
14970 if (error != NULL) {
14971 g_byte_array_free(xml_blob, TRUE);
14979 GByteArray* xml_blob;
14985 xml_blob = g_byte_array_new();
14987 if (error != NULL) {
14988 g_byte_array_free(xml_blob, TRUE);
14996 GByteArray* xml_blob;
15002 xml_blob = g_byte_array_new();
15004 if (error != NULL) {
15005 g_byte_array_free(xml_blob, TRUE);
15013 GByteArray* xml_blob;
15019 xml_blob = g_byte_array_new();
15021 if (error != NULL) {
15022 g_byte_array_free(xml_blob, TRUE);
15030 GByteArray* xml_blob;
15036 xml_blob = g_byte_array_new();
15038 if (error != NULL) {
15039 g_byte_array_free(xml_blob, TRUE);
15047 GByteArray* xml_blob;
15053 xml_blob = g_byte_array_new();
15055 if (error != NULL) {
15056 g_byte_array_free(xml_blob, TRUE);
15064 GByteArray* xml_blob;
15070 xml_blob = g_byte_array_new();
15072 if (error != NULL) {
15073 g_byte_array_free(xml_blob, TRUE);
15161 GByteArray* xml_blob;
15167 xml_blob = g_byte_array_new();
15169 if (error != NULL) {
15170 g_byte_array_free(xml_blob, TRUE);
15178 GByteArray* xml_blob;
15184 xml_blob = g_byte_array_new();
15186 if (error != NULL) {
15187 g_byte_array_free(xml_blob, TRUE);
15195 GByteArray* xml_blob;
15201 xml_blob = g_byte_array_new();
15203 if (error != NULL) {
15204 g_byte_array_free(xml_blob, TRUE);
15212 GByteArray* xml_blob;
15218 xml_blob = g_byte_array_new();
15220 if (error != NULL) {
15221 g_byte_array_free(xml_blob, TRUE);
15229 GByteArray* xml_blob;
15235 xml_blob = g_byte_array_new();
15237 if (error != NULL) {
15238 g_byte_array_free(xml_blob, TRUE);
15246 GByteArray* xml_blob;
15252 xml_blob = g_byte_array_new();
15254 if (error != NULL) {
15255 g_byte_array_free(xml_blob, TRUE);
15263 GByteArray* xml_blob;
15269 xml_blob = g_byte_array_new();
15271 if (error != NULL) {
15272 g_byte_array_free(xml_blob, TRUE);
15280 GByteArray* xml_blob;
15286 xml_blob = g_byte_array_new();
15288 if (error != NULL) {
15289 g_byte_array_free(xml_blob, TRUE);
15297 GByteArray* xml_blob;
15303 xml_blob = g_byte_array_new();
15305 if (error != NULL) {
15306 g_byte_array_free(xml_blob, TRUE);
15314 GByteArray* xml_blob;
15320 xml_blob = g_byte_array_new();
15322 if (error != NULL) {
15323 g_byte_array_free(xml_blob, TRUE);
15331 GByteArray* xml_blob;
15337 xml_blob = g_byte_array_new();
15339 if (error != NULL) {
15340 g_byte_array_free(xml_blob, TRUE);
15348 GByteArray* xml_blob;
15354 xml_blob = g_byte_array_new();
15356 if (error != NULL) {
15357 g_byte_array_free(xml_blob, TRUE);
15365 GByteArray* xml_blob;
15371 xml_blob = g_byte_array_new();
15373 if (error != NULL) {
15374 g_byte_array_free(xml_blob, TRUE);
15382 GByteArray* xml_blob;
15388 xml_blob = g_byte_array_new();
15390 if (error != NULL) {
15391 g_byte_array_free(xml_blob, TRUE);
15399 GByteArray* xml_blob;
15405 xml_blob = g_byte_array_new();
15407 if (error != NULL) {
15408 g_byte_array_free(xml_blob, TRUE);
15416 GByteArray* xml_blob;
15422 xml_blob = g_byte_array_new();
15424 if (error != NULL) {
15425 g_byte_array_free(xml_blob, TRUE);
15433 GByteArray* xml_blob;
15439 xml_blob = g_byte_array_new();
15441 if (error != NULL) {
15442 g_byte_array_free(xml_blob, TRUE);
15450 GByteArray* xml_blob;
15456 xml_blob = g_byte_array_new();
15458 if (error != NULL) {
15459 g_byte_array_free(xml_blob, TRUE);
15467 GByteArray* xml_blob;
15473 xml_blob = g_byte_array_new();
15475 if (error != NULL) {
15476 g_byte_array_free(xml_blob, TRUE);
15484 GByteArray* xml_blob;
15490 xml_blob = g_byte_array_new();
15492 if (error != NULL) {
15493 g_byte_array_free(xml_blob, TRUE);
15502 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15504 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15512 GByteArray* xml_blob;
15515 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15517 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15521 xml_blob = g_byte_array_new();
15523 if (error != NULL) {
15524 g_byte_array_free(xml_blob, TRUE);
15532 GByteArray* xml_blob;
15538 xml_blob = g_byte_array_new();
15540 if (error != NULL) {
15541 g_byte_array_free(xml_blob, TRUE);
15549 GByteArray* xml_blob;
15555 xml_blob = g_byte_array_new();
15557 if (error != NULL) {
15558 g_byte_array_free(xml_blob, TRUE);
15566 ds3_xml_send_buff send_buff;
15567 GByteArray* xml_blob;
15570 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15572 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15577 if (error != NULL)
return error;
15579 xml_blob = g_byte_array_new();
15583 xmlFree(send_buff.buff);
15585 if (error != NULL) {
15586 g_byte_array_free(xml_blob, TRUE);
15594 ds3_xml_send_buff send_buff;
15595 GByteArray* xml_blob;
15598 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15600 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15605 if (error != NULL)
return error;
15607 xml_blob = g_byte_array_new();
15611 xmlFree(send_buff.buff);
15613 if (error != NULL) {
15614 g_byte_array_free(xml_blob, TRUE);
15622 ds3_xml_send_buff send_buff;
15623 GByteArray* xml_blob;
15626 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15628 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15633 if (error != NULL)
return error;
15635 xml_blob = g_byte_array_new();
15639 xmlFree(send_buff.buff);
15641 if (error != NULL) {
15642 g_byte_array_free(xml_blob, TRUE);
15650 ds3_xml_send_buff send_buff;
15651 GByteArray* xml_blob;
15654 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15656 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15661 if (error != NULL)
return error;
15663 xml_blob = g_byte_array_new();
15667 xmlFree(send_buff.buff);
15669 if (error != NULL) {
15670 g_byte_array_free(xml_blob, TRUE);
15686 GByteArray* xml_blob;
15689 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15691 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15695 xml_blob = g_byte_array_new();
15697 if (error != NULL) {
15698 g_byte_array_free(xml_blob, TRUE);
15714 GByteArray* xml_blob;
15717 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15719 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15723 xml_blob = g_byte_array_new();
15725 if (error != NULL) {
15726 g_byte_array_free(xml_blob, TRUE);
15734 GByteArray* xml_blob;
15740 xml_blob = g_byte_array_new();
15742 if (error != NULL) {
15743 g_byte_array_free(xml_blob, TRUE);
15752 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15754 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15763 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15765 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15774 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15776 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15785 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15787 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15809 GByteArray* xml_blob;
15812 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15814 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15818 xml_blob = g_byte_array_new();
15820 if (error != NULL) {
15821 g_byte_array_free(xml_blob, TRUE);
15829 GByteArray* xml_blob;
15832 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15834 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15838 xml_blob = g_byte_array_new();
15840 if (error != NULL) {
15841 g_byte_array_free(xml_blob, TRUE);
15849 GByteArray* xml_blob;
15855 xml_blob = g_byte_array_new();
15857 if (error != NULL) {
15858 g_byte_array_free(xml_blob, TRUE);
15866 GByteArray* xml_blob;
15869 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15871 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15875 xml_blob = g_byte_array_new();
15877 if (error != NULL) {
15878 g_byte_array_free(xml_blob, TRUE);
15886 GByteArray* xml_blob;
15892 xml_blob = g_byte_array_new();
15894 if (error != NULL) {
15895 g_byte_array_free(xml_blob, TRUE);
15903 GByteArray* xml_blob;
15906 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15908 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15912 xml_blob = g_byte_array_new();
15914 if (error != NULL) {
15915 g_byte_array_free(xml_blob, TRUE);
15923 GByteArray* xml_blob;
15929 xml_blob = g_byte_array_new();
15931 if (error != NULL) {
15932 g_byte_array_free(xml_blob, TRUE);
15948 GByteArray* xml_blob;
15951 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15953 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15957 xml_blob = g_byte_array_new();
15959 if (error != NULL) {
15960 g_byte_array_free(xml_blob, TRUE);
15976 GByteArray* xml_blob;
15979 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
15981 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
15985 xml_blob = g_byte_array_new();
15987 if (error != NULL) {
15988 g_byte_array_free(xml_blob, TRUE);
15996 GByteArray* xml_blob;
15999 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16001 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16005 xml_blob = g_byte_array_new();
16007 if (error != NULL) {
16008 g_byte_array_free(xml_blob, TRUE);
16024 GByteArray* xml_blob;
16027 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16029 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16033 xml_blob = g_byte_array_new();
16035 if (error != NULL) {
16036 g_byte_array_free(xml_blob, TRUE);
16044 GByteArray* xml_blob;
16050 xml_blob = g_byte_array_new();
16052 if (error != NULL) {
16053 g_byte_array_free(xml_blob, TRUE);
16061 GByteArray* xml_blob;
16067 xml_blob = g_byte_array_new();
16069 if (error != NULL) {
16070 g_byte_array_free(xml_blob, TRUE);
16078 GByteArray* xml_blob;
16084 xml_blob = g_byte_array_new();
16086 if (error != NULL) {
16087 g_byte_array_free(xml_blob, TRUE);
16096 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16098 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16107 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16109 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16118 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16120 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16128 GByteArray* xml_blob;
16134 xml_blob = g_byte_array_new();
16136 if (error != NULL) {
16137 g_byte_array_free(xml_blob, TRUE);
16145 GByteArray* xml_blob;
16148 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16150 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16154 xml_blob = g_byte_array_new();
16156 if (error != NULL) {
16157 g_byte_array_free(xml_blob, TRUE);
16165 GByteArray* xml_blob;
16171 xml_blob = g_byte_array_new();
16173 if (error != NULL) {
16174 g_byte_array_free(xml_blob, TRUE);
16182 GByteArray* xml_blob;
16185 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16187 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16191 xml_blob = g_byte_array_new();
16193 if (error != NULL) {
16194 g_byte_array_free(xml_blob, TRUE);
16202 GByteArray* xml_blob;
16208 xml_blob = g_byte_array_new();
16210 if (error != NULL) {
16211 g_byte_array_free(xml_blob, TRUE);
16219 GByteArray* xml_blob;
16222 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16224 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16228 xml_blob = g_byte_array_new();
16230 if (error != NULL) {
16231 g_byte_array_free(xml_blob, TRUE);
16239 GByteArray* xml_blob;
16242 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16244 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16248 xml_blob = g_byte_array_new();
16250 if (error != NULL) {
16251 g_byte_array_free(xml_blob, TRUE);
16259 GByteArray* xml_blob;
16265 xml_blob = g_byte_array_new();
16267 if (error != NULL) {
16268 g_byte_array_free(xml_blob, TRUE);
16276 GByteArray* xml_blob;
16280 xml_blob = g_byte_array_new();
16282 if (error != NULL) {
16283 g_byte_array_free(xml_blob, TRUE);
16291 GByteArray* xml_blob;
16295 xml_blob = g_byte_array_new();
16297 if (error != NULL) {
16298 g_byte_array_free(xml_blob, TRUE);
16306 GByteArray* xml_blob;
16312 xml_blob = g_byte_array_new();
16314 if (error != NULL) {
16315 g_byte_array_free(xml_blob, TRUE);
16323 GByteArray* xml_blob;
16326 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16328 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16332 xml_blob = g_byte_array_new();
16334 if (error != NULL) {
16335 g_byte_array_free(xml_blob, TRUE);
16343 GByteArray* xml_blob;
16349 xml_blob = g_byte_array_new();
16351 if (error != NULL) {
16352 g_byte_array_free(xml_blob, TRUE);
16360 GByteArray* xml_blob;
16363 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16365 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16369 xml_blob = g_byte_array_new();
16371 if (error != NULL) {
16372 g_byte_array_free(xml_blob, TRUE);
16380 GByteArray* xml_blob;
16386 xml_blob = g_byte_array_new();
16388 if (error != NULL) {
16389 g_byte_array_free(xml_blob, TRUE);
16397 GByteArray* xml_blob;
16400 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16402 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16406 xml_blob = g_byte_array_new();
16408 if (error != NULL) {
16409 g_byte_array_free(xml_blob, TRUE);
16417 GByteArray* xml_blob;
16423 xml_blob = g_byte_array_new();
16425 if (error != NULL) {
16426 g_byte_array_free(xml_blob, TRUE);
16434 GByteArray* xml_blob;
16437 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16439 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16443 xml_blob = g_byte_array_new();
16445 if (error != NULL) {
16446 g_byte_array_free(xml_blob, TRUE);
16454 GByteArray* xml_blob;
16457 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16459 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16463 xml_blob = g_byte_array_new();
16465 if (error != NULL) {
16466 g_byte_array_free(xml_blob, TRUE);
16474 GByteArray* xml_blob;
16480 xml_blob = g_byte_array_new();
16482 if (error != NULL) {
16483 g_byte_array_free(xml_blob, TRUE);
16492 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16494 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16503 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16505 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16514 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16516 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16525 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16527 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16536 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16538 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16547 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16549 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16557 GByteArray* xml_blob;
16563 xml_blob = g_byte_array_new();
16565 if (error != NULL) {
16566 g_byte_array_free(xml_blob, TRUE);
16574 ds3_xml_send_buff send_buff;
16581 if (error != NULL)
return error;
16586 xmlFree(send_buff.buff);
16592 ds3_xml_send_buff send_buff;
16593 GByteArray* xml_blob;
16600 if (error != NULL)
return error;
16602 xml_blob = g_byte_array_new();
16606 xmlFree(send_buff.buff);
16608 if (error != NULL) {
16609 g_byte_array_free(xml_blob, TRUE);
16617 GByteArray* xml_blob;
16620 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16622 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16626 xml_blob = g_byte_array_new();
16628 if (error != NULL) {
16629 g_byte_array_free(xml_blob, TRUE);
16643 GByteArray* xml_blob;
16649 xml_blob = g_byte_array_new();
16651 if (error != NULL) {
16652 g_byte_array_free(xml_blob, TRUE);
16660 GByteArray* xml_blob;
16663 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16665 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16669 xml_blob = g_byte_array_new();
16671 if (error != NULL) {
16672 g_byte_array_free(xml_blob, TRUE);
16680 GByteArray* xml_blob;
16683 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16685 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16689 xml_blob = g_byte_array_new();
16691 if (error != NULL) {
16692 g_byte_array_free(xml_blob, TRUE);
16700 GByteArray* xml_blob;
16703 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16705 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16709 xml_blob = g_byte_array_new();
16711 if (error != NULL) {
16712 g_byte_array_free(xml_blob, TRUE);
16720 GByteArray* xml_blob;
16726 xml_blob = g_byte_array_new();
16728 if (error != NULL) {
16729 g_byte_array_free(xml_blob, TRUE);
16737 GByteArray* xml_blob;
16740 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16742 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16746 xml_blob = g_byte_array_new();
16748 if (error != NULL) {
16749 g_byte_array_free(xml_blob, TRUE);
16757 GByteArray* xml_blob;
16763 xml_blob = g_byte_array_new();
16765 if (error != NULL) {
16766 g_byte_array_free(xml_blob, TRUE);
16774 GByteArray* xml_blob;
16780 xml_blob = g_byte_array_new();
16782 if (error != NULL) {
16783 g_byte_array_free(xml_blob, TRUE);
16791 GByteArray* xml_blob;
16797 xml_blob = g_byte_array_new();
16799 if (error != NULL) {
16800 g_byte_array_free(xml_blob, TRUE);
16808 GByteArray* xml_blob;
16811 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16813 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16817 xml_blob = g_byte_array_new();
16819 if (error != NULL) {
16820 g_byte_array_free(xml_blob, TRUE);
16828 GByteArray* xml_blob;
16834 xml_blob = g_byte_array_new();
16836 if (error != NULL) {
16837 g_byte_array_free(xml_blob, TRUE);
16845 GByteArray* xml_blob;
16848 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16850 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16854 xml_blob = g_byte_array_new();
16856 if (error != NULL) {
16857 g_byte_array_free(xml_blob, TRUE);
16865 GByteArray* xml_blob;
16868 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16870 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16874 xml_blob = g_byte_array_new();
16876 if (error != NULL) {
16877 g_byte_array_free(xml_blob, TRUE);
16885 GByteArray* xml_blob;
16891 xml_blob = g_byte_array_new();
16893 if (error != NULL) {
16894 g_byte_array_free(xml_blob, TRUE);
16902 GByteArray* xml_blob;
16908 xml_blob = g_byte_array_new();
16910 if (error != NULL) {
16911 g_byte_array_free(xml_blob, TRUE);
16919 GByteArray* xml_blob;
16922 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16924 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16928 xml_blob = g_byte_array_new();
16930 if (error != NULL) {
16931 g_byte_array_free(xml_blob, TRUE);
16939 GByteArray* xml_blob;
16942 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
16944 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
16948 xml_blob = g_byte_array_new();
16950 if (error != NULL) {
16951 g_byte_array_free(xml_blob, TRUE);
16959 GByteArray* xml_blob;
16965 xml_blob = g_byte_array_new();
16967 if (error != NULL) {
16968 g_byte_array_free(xml_blob, TRUE);
16976 GByteArray* xml_blob;
16982 xml_blob = g_byte_array_new();
16984 if (error != NULL) {
16985 g_byte_array_free(xml_blob, TRUE);
16993 GByteArray* xml_blob;
16999 xml_blob = g_byte_array_new();
17001 if (error != NULL) {
17002 g_byte_array_free(xml_blob, TRUE);
17010 GByteArray* xml_blob;
17013 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17015 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17019 xml_blob = g_byte_array_new();
17021 if (error != NULL) {
17022 g_byte_array_free(xml_blob, TRUE);
17030 GByteArray* xml_blob;
17036 xml_blob = g_byte_array_new();
17038 if (error != NULL) {
17039 g_byte_array_free(xml_blob, TRUE);
17047 GByteArray* xml_blob;
17050 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17052 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17056 xml_blob = g_byte_array_new();
17058 if (error != NULL) {
17059 g_byte_array_free(xml_blob, TRUE);
17075 GByteArray* xml_blob;
17078 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17080 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17084 xml_blob = g_byte_array_new();
17086 if (error != NULL) {
17087 g_byte_array_free(xml_blob, TRUE);
17095 GByteArray* xml_blob;
17098 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17100 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17104 xml_blob = g_byte_array_new();
17106 if (error != NULL) {
17107 g_byte_array_free(xml_blob, TRUE);
17115 GByteArray* xml_blob;
17121 xml_blob = g_byte_array_new();
17123 if (error != NULL) {
17124 g_byte_array_free(xml_blob, TRUE);
17132 GByteArray* xml_blob;
17135 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17137 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17141 xml_blob = g_byte_array_new();
17143 if (error != NULL) {
17144 g_byte_array_free(xml_blob, TRUE);
17152 GByteArray* xml_blob;
17158 xml_blob = g_byte_array_new();
17160 if (error != NULL) {
17161 g_byte_array_free(xml_blob, TRUE);
17169 GByteArray* xml_blob;
17172 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17174 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17178 xml_blob = g_byte_array_new();
17180 if (error != NULL) {
17181 g_byte_array_free(xml_blob, TRUE);
17189 GByteArray* xml_blob;
17192 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17194 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17198 xml_blob = g_byte_array_new();
17200 if (error != NULL) {
17201 g_byte_array_free(xml_blob, TRUE);
17209 GByteArray* xml_blob;
17215 xml_blob = g_byte_array_new();
17217 if (error != NULL) {
17218 g_byte_array_free(xml_blob, TRUE);
17226 GByteArray* xml_blob;
17229 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17231 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17235 xml_blob = g_byte_array_new();
17237 if (error != NULL) {
17238 g_byte_array_free(xml_blob, TRUE);
17246 GByteArray* xml_blob;
17249 if (num_slashes < 2 || ((num_slashes == 2) && (
'/' == request->
path->
value[request->
path->
size-1]))) {
17251 }
else if (g_ascii_strncasecmp(request->
path->
value,
"//", 2) == 0) {
17255 xml_blob = g_byte_array_new();
17257 if (error != NULL) {
17258 g_byte_array_free(xml_blob, TRUE);
17266 if (response == NULL) {
17276 if (response == NULL) {
17281 for (index = 0; index < response->
num_parts; index++) {
17284 g_free(response->
parts);
17289 if (response == NULL) {
17294 for (index = 0; index < response->
num_strings; index++) {
17303 if (_request == NULL) {
17312 if (request->
headers != NULL) {
17313 g_hash_table_destroy(request->
headers);
17323 if (error == NULL) {
17336 xmlCleanupParser();
17341 if (response == NULL) {
17352 if (response == NULL) {
17365 if (response == NULL) {
17377 if (response == NULL) {
17393 if (response == NULL) {
17409 if (response == NULL) {
17419 if (response == NULL) {
17430 if (response == NULL) {
17441 if (response == NULL) {
17453 if (response == NULL) {
17463 if (response == NULL) {
17475 if (response == NULL) {
17490 if (response == NULL) {
17504 if (response == NULL) {
17516 if (response == NULL) {
17527 if (response == NULL) {
17535 if (response == NULL) {
17547 if (response == NULL) {
17559 if (response == NULL) {
17570 if (response == NULL) {
17583 if (response == NULL) {
17598 if (response == NULL) {
17613 if (response == NULL) {
17627 if (response == NULL) {
17641 if (response == NULL) {
17656 if (response == NULL) {
17670 if (response == NULL) {
17685 if (response == NULL) {
17699 if (response == NULL) {
17713 if (response == NULL) {
17727 if (response == NULL) {
17741 if (response == NULL) {
17752 if (response == NULL) {
17770 if (response == NULL) {
17782 if (response == NULL) {
17792 if (response == NULL) {
17815 if (response == NULL) {
17825 if (response == NULL) {
17839 if (response == NULL) {
17852 if (response == NULL) {
17864 if (response == NULL) {
17877 if (response == NULL) {
17889 if (response == NULL) {
17900 if (response == NULL) {
17906 for (index = 0; index < response->
num_ids; index++) {
17909 g_free(response->
ids);
17915 if (response == NULL) {
17925 if (response == NULL) {
17937 if (response == NULL) {
17949 if (response == NULL) {
17960 if (response == NULL) {
17973 if (response == NULL) {
17985 if (response == NULL) {
18000 if (response == NULL) {
18005 for (index = 0; index < response->
num_tasks; index++) {
18008 g_free(response->
tasks);
18013 if (response == NULL) {
18022 if (response == NULL) {
18028 for (index = 0; index < response->
num_entries; index++) {
18037 if (response == NULL) {
18050 if (response == NULL) {
18060 if (response == NULL) {
18072 if (response == NULL) {
18083 if (response == NULL) {
18107 if (response == NULL) {
18122 if (response == NULL) {
18133 if (response == NULL) {
18144 if (response == NULL) {
18154 if (response == NULL) {
18164 if (response == NULL) {
18173 if (response == NULL) {
18183 if (response == NULL) {
18194 if (response == NULL) {
18202 if (response == NULL) {
18217 if (response == NULL) {
18241 if (response == NULL) {
18251 if (response == NULL) {
18256 for (index = 0; index < response->
num_failures; index++) {
18264 if (response == NULL) {
18273 if (response == NULL) {
18283 if (response == NULL) {
18291 if (response == NULL) {
18304 if (response == NULL) {
18317 if (response == NULL) {
18322 for (index = 0; index < response->
num_buckets; index++) {
18330 if (response == NULL) {
18343 if (response == NULL) {
18356 if (response == NULL) {
18369 if (response == NULL) {
18382 if (response == NULL) {
18387 for (index = 0; index < response->
num_groups; index++) {
18390 g_free(response->
groups);
18395 if (response == NULL) {
18408 if (response == NULL) {
18421 if (response == NULL) {
18434 if (response == NULL) {
18439 for (index = 0; index < response->
num_nodes; index++) {
18442 g_free(response->
nodes);
18447 if (response == NULL) {
18460 if (response == NULL) {
18473 if (response == NULL) {
18486 if (response == NULL) {
18499 if (response == NULL) {
18512 if (response == NULL) {
18525 if (response == NULL) {
18538 if (response == NULL) {
18551 if (response == NULL) {
18564 if (response == NULL) {
18577 if (response == NULL) {
18590 if (response == NULL) {
18603 if (response == NULL) {
18616 if (response == NULL) {
18621 for (index = 0; index < response->
num_pools; index++) {
18624 g_free(response->
pools);
18629 if (response == NULL) {
18642 if (response == NULL) {
18655 if (response == NULL) {
18668 if (response == NULL) {
18681 if (response == NULL) {
18694 if (response == NULL) {
18707 if (response == NULL) {
18720 if (response == NULL) {
18733 if (response == NULL) {
18746 if (response == NULL) {
18759 if (response == NULL) {
18772 if (response == NULL) {
18777 for (index = 0; index < response->
num_tapes; index++) {
18780 g_free(response->
tapes);
18785 if (response == NULL) {
18798 if (response == NULL) {
18811 if (response == NULL) {
18816 for (index = 0; index < response->
num_pools; index++) {
18819 g_free(response->
pools);
18820 for (index = 0; index < response->
num_tapes; index++) {
18823 g_free(response->
tapes);
18828 if (response == NULL) {
18838 if (response == NULL) {
18848 if (response == NULL) {
18853 for (index = 0; index < response->
num_objects; index++) {
18861 if (response == NULL) {
18876 if (response == NULL) {
18883 for (index = 0; index < response->
num_objects; index++) {
18891 if (response == NULL) {
18897 for (index = 0; index < response->
num_objects; index++) {
18905 if (response == NULL) {
18912 for (index = 0; index < response->
num_objects; index++) {
18920 if (response == NULL) {
18925 for (index = 0; index < response->
num_buckets; index++) {
18934 if (response == NULL) {
18943 for (index = 0; index < response->
num_errors; index++) {
18946 g_free(response->
errors);
18951 if (response == NULL) {
18959 for (index = 0; index < response->
num_nodes; index++) {
18962 g_free(response->
nodes);
18970 if (response == NULL) {
18977 for (index = 0; index < response->
num_objects; index++) {
18985 if (response == NULL) {
18993 for (index = 0; index < response->
num_nodes; index++) {
18996 g_free(response->
nodes);
18997 for (index = 0; index < response->
num_objects; index++) {
19008 if (response == NULL) {
19013 for (index = 0; index < response->
num_jobs; index++) {
19016 g_free(response->
jobs);
19021 if (response == NULL) {
19029 for (index = 0; index < response->
num_parts; index++) {
19032 g_free(response->
parts);
19038 if (response == NULL) {
19050 if (response == NULL) {
19063 if (response == NULL) {
19078 if (response == NULL) {
19083 for (index = 0; index < response->
num_types; index++) {
19086 g_free(response->
types);
19091 if (response == NULL) {
19104 if (response == NULL) {
19118 for (index = 0; index < response->
num_objects; index++) {
19127 if (response == NULL) {
19143 for (index = 0; index < response->
num_uploads; index++) {
19153 return fwrite(buffer, size, nmemb, (FILE*) user_data);
19157 return fread(buffer, size, nmemb, (FILE*) user_data);
19161 return write(*(
int*)user_data, buffer, size * nmemb);
19165 return read(*(
int*)user_data, buffer, size * nmemb);
19169 struct stat file_info;
19172 char* file_to_stat;
19173 memset(&file_info, 0,
sizeof(
struct stat));
19175 if (base_path != NULL) {
19176 file_to_stat = g_strconcat(base_path, file_name, NULL);
19178 file_to_stat = g_strdup(file_name);
19181 result = stat(file_to_stat, &file_info);
19183 fprintf(stderr,
"Failed to get file info for %s\n", file_name);
19188 if (
S_ISDIR(file_info.st_mode)) {
19191 obj->
length = file_info.st_size;
19194 g_free(file_to_stat);
19207 GPtrArray* ds3_bulk_object_response_array = g_ptr_array_new();
19208 for (file_index = 0; file_index < num_files; file_index++) {
19213 obj_list->
num_objects = ds3_bulk_object_response_array->len;
19214 g_ptr_array_free(ds3_bulk_object_response_array, FALSE);
19220 size_t object_index;
19223 GPtrArray* ds3_bulk_object_response_array = g_ptr_array_new();
19225 for (object_index = 0; object_index < num_objects; object_index++) {
19228 g_ptr_array_add(ds3_bulk_object_response_array, response);
19232 obj_list->
num_objects = ds3_bulk_object_response_array->len;
19233 g_ptr_array_free(ds3_bulk_object_response_array, FALSE);
void ds3_job_node_response_free(ds3_job_node_response *response)
ds3_error * ds3_get_object_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_response **response)
void ds3_detailed_tape_response_free(ds3_detailed_tape_response *response)
ds3_request * ds3_init_delete_bucket_request(const char *bucket_name)
static ds3_error * _parse_top_level_ds3_tape_partition_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_partition_list_response **_response, GByteArray *xml_blob)
ds3_str * last_notification
void ds3_cache_filesystem_response_free(ds3_cache_filesystem_response *response)
ds3_request * ds3_init_cancel_format_on_all_tapes_spectra_s3_request(void)
ds3_str * notification_generation_date
static ds3_error * _parse_ds3_multi_part_upload_part_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_multi_part_upload_part_response **_response)
static ds3_error * _parse_ds3_cache_filesystem_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_data_persistence_rules_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_list_response **response)
void ds3_request_set_custom_header(ds3_request *_request, const char *header_name, const char *header_value)
void ds3_error_response_free(ds3_error_response *response)
ds3_request * ds3_init_format_all_foreign_pools_spectra_s3_request(void)
size_t ds3_read_from_fd(void *buffer, size_t size, size_t nmemb, void *user_data)
static ds3_error * _parse_ds3_multi_part_upload_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_multi_part_upload_response **_response)
void ds3_job_completed_notification_registration_list_response_free(ds3_job_completed_notification_registration_list_response *response)
static ds3_error * _parse_top_level_ds3_detailed_tape_response(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_response **_response, GByteArray *xml_blob)
ds3_error * ds3_clear_all_completed_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_storage_domain_failure_notification_registration_response ** storage_domain_failure_notification_registrations
ds3_request * ds3_init_get_tape_library_spectra_s3_request(const char *resource_id)
ds3_priority default_get_job_priority
ds3_node_response ** nodes
ds3_checksum_type checksum_type
ds3_pool_response ** pools
ds3_tape_state previous_state
ds3_request * ds3_init_get_tape_partitions_with_full_details_spectra_s3_request(void)
static ds3_rest_resource_type _match_ds3_rest_resource_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_online_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_request * ds3_init_get_system_capacity_summary_spectra_s3_request(void)
ds3_str * notification_generation_date
ds3_error * ds3_format_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_tape_state previous_state
static ds3_error * _parse_ds3_s3_object_to_delete_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_tape_partitions_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_named_detailed_tape_partition_list_response **response)
size_t num_completed_jobs
void ds3_request_set_crc32(ds3_request *_request, const char *crc32)
void ds3_storage_domain_failure_response_free(ds3_storage_domain_failure_response *response)
ds3_named_detailed_tape_response ** named_detailed_tapes
ds3_request * ds3_init_get_tape_density_directives_spectra_s3_request(void)
size_t num_named_detailed_tape_partitions
ds3_request * ds3_init_cancel_online_on_all_tapes_spectra_s3_request(void)
ds3_str * notification_end_point
static ds3_error * _parse_top_level_ds3_tape_density_directive_response(const ds3_client *client, const ds3_request *request, ds3_tape_density_directive_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_verify_system_health_spectra_s3_request(void)
static ds3_error * _parse_ds3_pool_failure_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_auto_eject_upon_job_completion(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_modify_pool_partition_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_get_pool_failure_notification_registration_spectra_s3_request(void)
char * escape_url(const char *url)
void ds3_pool_partition_response_free(ds3_pool_partition_response *response)
ds3_request * ds3_init_get_system_failures_spectra_s3_request(void)
void ds3_request_set_auto_inspect_ds3_auto_inspect_mode(const ds3_request *request, const ds3_auto_inspect_mode value)
ds3_write_optimization write_optimization
static ds3_error * _parse_top_level_ds3_s3_object_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_tape_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_response **response)
static char * _get_ds3_replication_conflict_resolution_mode_str(ds3_replication_conflict_resolution_mode input)
ds3_str * storage_domain_id
static ds3_error * _parse_top_level_ds3_detailed_s3_object_list_response(const ds3_client *client, const ds3_request *request, ds3_detailed_s3_object_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_get_system_failure_notification_registrations_spectra_s3_request(void)
ds3_error * ds3_verify_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_error * ds3_modify_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_spectra_user_response **response)
ds3_str * notification_end_point
void ds3_tape_partition_list_response_free(ds3_tape_partition_list_response *response)
ds3_http_response_format_type format
void ds3_group_list_response_free(ds3_group_list_response *response)
static ds3_error * _parse_ds3_contents_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_delete_group_spectra_s3_request(const char *resource_id)
static uint64_t xml_get_uint16_from_attribute(xmlDocPtr doc, struct _xmlAttr *attribute)
ds3_error * ds3_get_buckets_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_list_response **response)
static ds3_error * _parse_ds3_multi_part_upload_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_object_with_metadata(const ds3_client *client, const ds3_request *request, void *user_data, size_t(*callback)(void *, size_t, size_t, void *), ds3_metadata **_metadata)
static ds3_error * _parse_top_level_ds3_job_created_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_job_created_notification_registration_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_cancel_eject_on_all_tapes_spectra_s3_request(void)
void ds3_completed_job_response_free(ds3_completed_job_response *response)
static ds3_error * _parse_ds3_active_job_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_active_job_response **_response)
ds3_tape_partition_response ** tape_partitions
static ds3_rest_operation_type _match_ds3_rest_operation_type(const ds3_log *log, const xmlChar *text)
uint64_t original_size_in_bytes
static ds3_error * _parse_top_level_ds3_delete_result_response(const ds3_client *client, const ds3_request *request, ds3_delete_result_response **_response, GByteArray *xml_blob)
ds3_error * ds3_put_system_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_system_failure_notification_registration_response **response)
static ds3_error * _internal_request_dispatcher(const ds3_client *client, const ds3_request *request, void *read_user_struct, size_t(*read_handler_func)(void *, size_t, size_t, void *), void *write_user_struct, size_t(*write_handler_func)(void *, size_t, size_t, void *), ds3_string_multimap **return_headers)
static ds3_error * _parse_ds3_type_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_data_path_backend_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_path_backend_response **response)
static ds3_error * _parse_top_level_ds3_storage_domain_list_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_job_created_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_created_notification_registration_response **response)
int last_http_response_code
static ds3_error * _parse_top_level_ds3_spectra_user_list_response(const ds3_client *client, const ds3_request *request, ds3_spectra_user_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_put_pool_partition_spectra_s3_request(const char *name, const ds3_pool_type type)
ds3_request * ds3_init_get_job_created_notification_registration_spectra_s3_request(void)
ds3_write_preference_level
ds3_request * ds3_init_put_bulk_job_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
void ds3_request_set_crc32c(ds3_request *_request, const char *crc32c)
void ds3_tape_failure_response_free(ds3_tape_failure_response *response)
ds3_naming_convention_type naming_convention
ds3_request * ds3_init_get_buckets_spectra_s3_request(void)
static ds3_error * _parse_top_level_ds3_group_response(const ds3_client *client, const ds3_request *request, ds3_group_response **_response, GByteArray *xml_blob)
ds3_import_export_configuration
static ds3_error * _parse_ds3_cache_filesystem_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_cache_filesystem_response **_response)
void ds3_request_set_state_ds3_storage_domain_member_state(const ds3_request *request, const ds3_storage_domain_member_state value)
ds3_str * notification_end_point
static void _ds3_metadata_entry_free(gpointer pointer)
ds3_error * ds3_get_node_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_node_response **response)
static ds3_error * _parse_top_level_ds3_s3_object_cached_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_cached_notification_registration_list_response **_response, GByteArray *xml_blob)
void ds3_generic_dao_notification_payload_response_free(ds3_generic_dao_notification_payload_response *response)
ds3_bulk_object_list_response * blobs
ds3_job_request_type request_type
ds3_bool ltfs_object_naming_allowed
ds3_user_response * owner
void ds3_request_set_default_import_conflict_resolution_mode_ds3_import_conflict_resolution_mode(const ds3_request *request, const ds3_import_conflict_resolution_mode value)
ds3_bulk_object_response ** objects_not_persisted
ds3_error * ds3_get_data_policy_acl_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **response)
static ds3_error * _parse_ds3_tape_partition_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_partition_failure_response **_response)
ds3_request * ds3_init_get_job_created_notification_registrations_spectra_s3_request(void)
static ds3_error * _parse_ds3_job_created_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_job_created_notification_registration_response **_response)
ds3_request * ds3_init_delete_object_cached_notification_registration_spectra_s3_request(void)
ds3_str * last_notification
void ds3_s3_object_lost_notification_registration_list_response_free(ds3_s3_object_lost_notification_registration_list_response *response)
ds3_s3_object_to_delete_response ** deleted_objects
void ds3_capacity_summary_container_response_free(ds3_capacity_summary_container_response *response)
static ds3_error * _parse_top_level_ds3_capacity_summary_container_response(const ds3_client *client, const ds3_request *request, ds3_capacity_summary_container_response **_response, GByteArray *xml_blob)
ds3_str * last_checkpoint
void ds3_tape_response_free(ds3_tape_response *response)
ds3_request * ds3_init_get_system_failure_notification_registration_spectra_s3_request(void)
ds3_request * ds3_init_eject_storage_domain_blobs_spectra_s3_request(const char *bucket_id, const char *storage_domain_id, const ds3_bulk_object_list_response *object_list)
ds3_storage_domain_capacity_summary_response * tape
static ds3_tape_drive_state _match_ds3_tape_drive_state(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_delete_tape_failure_notification_registration_spectra_s3_request(void)
void ds3_request_set_part_number_marker(const ds3_request *request, const int value)
ds3_request * ds3_init_get_groups_spectra_s3_request(void)
static ds3_error * _parse_top_level_ds3_cache_information_response(const ds3_client *client, const ds3_request *request, ds3_cache_information_response **_response, GByteArray *xml_blob)
ds3_error * ds3_put_storage_domain_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_response **response)
static ds3_system_failure_type _match_ds3_system_failure_type(const ds3_log *log, const xmlChar *text)
void ds3_request_set_page_start_marker(const ds3_request *request, const char *value)
ds3_request * ds3_init_list_multi_part_upload_parts_request(const char *bucket_name, const char *object_name, const char *upload_id)
ds3_error * ds3_get_groups_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_list_response **response)
ds3_write_optimization write_optimization
ds3_tape_library_response ** tape_libraries
static ds3_metadata * _init_metadata(ds3_string_multimap *response_headers)
static ds3_error * _parse_top_level_ds3_tape_response(const ds3_client *client, const ds3_request *request, ds3_tape_response **_response, GByteArray *xml_blob)
ds3_error * ds3_put_global_bucket_acl_for_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **response)
static ds3_error * _parse_ds3_tape_density_directive_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_density_directive_response **_response)
ds3_request * ds3_init_modify_storage_domain_member_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_put_global_bucket_acl_for_user_spectra_s3_request(const ds3_bucket_acl_permission permission, const char *user_id)
uint64_t original_size_in_bytes
ds3_bucket_acl_permission permission
static struct _ds3_request * _common_request_init(http_verb verb, ds3_str *path)
size_t num_storage_domain_members
void ds3_build_information_response_free(ds3_build_information_response *response)
ds3_error * ds3_delete_pool_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_modify_job_spectra_s3_request(const char *resource_id)
void ds3_request_set_type_ds3_tape_drive_type(const ds3_request *request, const ds3_tape_drive_type value)
ds3_request * ds3_init_get_tape_drive_spectra_s3_request(const char *resource_id)
void ds3_request_set_density_ds3_tape_drive_type(const ds3_request *request, const ds3_tape_drive_type value)
static char * _get_ds3_data_persistence_rule_type_str(ds3_data_persistence_rule_type input)
void ds3_creds_free(ds3_creds *creds)
void ds3_group_response_free(ds3_group_response *response)
ds3_job_request_type request_type
ds3_str * last_notification
void ds3_request_set_state_ds3_tape_state(const ds3_request *request, const ds3_tape_state value)
void ds3_pool_list_response_free(ds3_pool_list_response *response)
static ds3_import_conflict_resolution_mode _match_ds3_import_conflict_resolution_mode(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_get_object_lost_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_lost_notification_registration_list_response **response)
ds3_error * ds3_get_degraded_buckets_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_list_response **response)
void ds3_request_set_name(const ds3_request *request, const char *value)
ds3_job_chunk_client_processing_order_guarantee chunk_ordering
ds3_request * ds3_init_compact_pool_spectra_s3_request(const char *resource_id)
ds3_client * ds3_create_client(const char *endpoint, ds3_creds *creds)
ds3_error * ds3_create_client_from_env(ds3_client **client)
ds3_error * ds3_get_objects_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_list_response **response)
void ds3_request_set_page_offset(const ds3_request *request, const int value)
void ds3_request_set_import_export_configuration_ds3_import_export_configuration(const ds3_request *request, const ds3_import_export_configuration value)
static char * _get_ds3_import_conflict_resolution_mode_str(ds3_import_conflict_resolution_mode input)
static ds3_error * _parse_ds3_storage_domain_capacity_summary_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_storage_domain_capacity_summary_response **_response)
ds3_error * ds3_put_data_policy_acl_for_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **response)
static ds3_error * _parse_ds3_detailed_s3_object_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_detailed_s3_object_response **_response)
ds3_import_conflict_resolution_mode default_import_conflict_resolution_mode
ds3_error * ds3_put_object_cached_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_cached_notification_registration_response **response)
static ds3_error * _parse_top_level_ds3_named_detailed_tape_partition_list_response(const ds3_client *client, const ds3_request *request, ds3_named_detailed_tape_partition_list_response **_response, GByteArray *xml_blob)
int unavailable_tape_partition_max_job_retry_in_mins
void ds3_request_set_md5(ds3_request *_request, const char *md5)
uint64_t available_raw_capacity
static ds3_storage_domain_failure_type _match_ds3_storage_domain_failure_type(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_delete_tape_partition_failure_notification_registration_spectra_s3_request(void)
char * escape_url_object_name(const char *url)
static ds3_error * _parse_top_level_ds3_system_failure_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_system_failure_notification_registration_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_top_level_ds3_pool_partition_response(const ds3_client *client, const ds3_request *request, ds3_pool_partition_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_put_global_bucket_acl_for_group_spectra_s3_request(const char *group_id, const ds3_bucket_acl_permission permission)
static ds3_pool_state _match_ds3_pool_state(const ds3_log *log, const xmlChar *text)
void ds3_request_set_type_ds3_system_failure_type(const ds3_request *request, const ds3_system_failure_type value)
int unavailable_pool_max_job_retry_in_mins
ds3_job_request_type request_type
ds3_request * ds3_init_import_all_pools_spectra_s3_request(void)
ds3_database_physical_space_state
static ds3_error * _parse_top_level_ds3_pool_response(const ds3_client *client, const ds3_request *request, ds3_pool_response **_response, GByteArray *xml_blob)
static size_t _ds3_send_xml_buff(void *buffer, size_t size, size_t nmemb, void *user_data)
ds3_error * ds3_get_pool_partitions_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_partition_list_response **response)
ds3_error * ds3_clean_tape_drive_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_drive_response **response)
ds3_error * ds3_delete_pool_failure_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_spectra_user_response ** spectra_users
ds3_error * ds3_put_global_bucket_acl_for_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **response)
ds3_job_chunk_client_processing_order_guarantee chunk_client_processing_order_guarantee
ds3_request * ds3_init_get_bucket_capacity_summary_spectra_s3_request(const char *bucket_id, const char *storage_domain_id)
ds3_request * ds3_init_get_bulk_job_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
static ds3_replication_conflict_resolution_mode _match_ds3_replication_conflict_resolution_mode(const ds3_log *log, const xmlChar *text)
void ds3_storage_domain_response_free(ds3_storage_domain_response *response)
ds3_request * ds3_init_clear_all_canceled_jobs_spectra_s3_request(void)
ds3_bucket_response ** buckets
void ds3_request_set_metadata(ds3_request *_request, const char *name, const char *value)
ds3_request * ds3_init_get_degraded_data_persistence_rules_spectra_s3_request(void)
ds3_http_response_format_type format
void ds3_request_set_max_keys(const ds3_request *request, const int value)
void ds3_s3_objects_persisted_notification_payload_response_free(ds3_s3_objects_persisted_notification_payload_response *response)
ds3_request_type notification_http_method
ds3_request * ds3_init_modify_group_spectra_s3_request(const char *resource_id)
void ds3_request_set_serial_number(const ds3_request *request, const char *value)
ds3_error * ds3_get_storage_domain_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_notification_registration_response **response)
ds3_detailed_s3_object_response ** detailed_s3_objects
static ds3_error * _parse_top_level_ds3_tape_partition_response(const ds3_client *client, const ds3_request *request, ds3_tape_partition_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_clean_tape_drive_spectra_s3_request(const char *resource_id)
ds3_cache_entry_state state
static char * _get_ds3_pool_state_str(ds3_pool_state input)
ds3_bool auto_eject_upon_job_cancellation
ds3_request * ds3_init_get_pool_failures_spectra_s3_request(void)
ds3_tape_partition_failure_notification_registration_response ** tape_partition_failure_notification_registrations
ds3_error * ds3_get_tape_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_response **response)
static ds3_import_export_configuration _match_ds3_import_export_configuration(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_get_data_policy_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_ds3_bucket_details_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_bucket_details_response **_response)
ds3_request * ds3_init_get_tape_partition_failure_notification_registrations_spectra_s3_request(void)
static char * _get_ds3_versioning_level_str(ds3_versioning_level input)
ds3_str * tape_partition_id
ds3_auto_inspect_mode auto_inspect
ds3_str * data_path_ip_address
void ds3_request_set_naming_convention_ds3_naming_convention_type(const ds3_request *request, const ds3_naming_convention_type value)
void ds3_request_set_type_ds3_tape_type(const ds3_request *request, const ds3_tape_type value)
static xmlDocPtr _generate_xml_delete_objects(ds3_delete_objects_response *keys_list)
void ds3_delete_object_error_response_free(ds3_delete_object_error_response *response)
static ds3_error * _parse_top_level_ds3_bucket_acl_response(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **_response, GByteArray *xml_blob)
void ds3_request_set_rechunked(const ds3_request *request, const char *value)
ds3_request * ds3_init_get_jobs_spectra_s3_request(void)
static char * _get_ds3_naming_convention_type_str(ds3_naming_convention_type input)
static ds3_error * _parse_top_level_ds3_list_bucket_result_response(const ds3_client *client, const ds3_request *request, ds3_list_bucket_result_response **_response, GByteArray *xml_blob)
static xmlDocPtr _generate_xml_bulk_objects_list(const ds3_bulk_object_list_response *obj_list, object_list_type list_type, ds3_job_chunk_client_processing_order_guarantee order)
static ds3_error * _parse_ds3_tape_density_directive_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_verify_system_health_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_health_verification_result_response **response)
static void _set_header(ds3_request *_request, const char *key, const char *value)
void ds3_request_set_blobbing_enabled(const ds3_request *request, ds3_bool value)
ds3_error * ds3_get_storage_domains_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_list_response **response)
ds3_type_response ** types
ds3_tape_drive_type drive_type
GHashTable * ds3_string_multimap_get_hashtable(const ds3_string_multimap *mp)
ds3_request * ds3_init_import_tape_spectra_s3_request(const char *resource_id)
ds3_import_export_configuration import_export_configuration
ds3_multipart_upload_part_response ** parts
ds3_request * ds3_init_eject_storage_domain_spectra_s3_request(const char *storage_domain_id, const ds3_bulk_object_list_response *object_list)
static bool attribute_equal(const struct _xmlAttr *attribute, const char *attribute_name)
ds3_request * ds3_init_get_system_information_spectra_s3_request(void)
ds3_request_type notification_http_method
static ds3_error * _parse_ds3_delete_object_error_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_ds3_job_completed_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_job_completed_notification_registration_response **_response)
ds3_http_response_format_type format
void ds3_data_persistence_rule_response_free(ds3_data_persistence_rule_response *response)
static ds3_request_type _match_ds3_request_type(const ds3_log *log, const xmlChar *text)
static ds3_error * _parse_ds3_tape_library_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_top_level_ds3_data_policy_acl_response(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **_response, GByteArray *xml_blob)
ds3_error * ds3_import_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
static ds3_error * _parse_top_level_ds3_storage_domain_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_list_response **_response, GByteArray *xml_blob)
void ds3_request_set_type_ds3_tape_partition_failure_type(const ds3_request *request, const ds3_tape_partition_failure_type value)
ds3_str * last_checkpoint
ds3_error * ds3_get_tape_failures_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_failure_list_response **response)
void ds3_request_set_tape_drive_id(const ds3_request *request, const char *value)
void ds3_request_set_default_blob_size(const ds3_request *request, const uint64_t value)
static ds3_error * _parse_ds3_tape_partition_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_unavailable_tape_partition_max_job_retry_in_mins(const ds3_request *request, const int value)
static ds3_error * _parse_ds3_s3_object_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_s3_object_response **_response)
ds3_error * ds3_get_system_failure_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_system_failure_notification_registration_list_response **response)
int max_tape_fragmentation_percent
void ds3_request_set_dns_name(const ds3_request *request, const char *value)
static ds3_error * _parse_top_level_ds3_tape_failure_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_tape_failure_notification_registration_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_nodes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_node_list_response **response)
ds3_request * ds3_init_get_job_completed_notification_registrations_spectra_s3_request(void)
static ds3_error * _parse_ds3_s3_object_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_tape_partition_failure_type _match_ds3_tape_partition_failure_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_clear_all_canceled_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_bulk_object_list_response_free(ds3_bulk_object_list_response *response)
ds3_request * ds3_init_get_pool_failure_notification_registrations_spectra_s3_request(void)
ds3_request * ds3_init_get_tape_failures_spectra_s3_request(void)
void ds3_tape_partition_failure_list_response_free(ds3_tape_partition_failure_list_response *response)
void ds3_named_detailed_tape_response_free(ds3_named_detailed_tape_response *response)
static ds3_error * _parse_top_level_ds3_complete_multipart_upload_result_response(const ds3_client *client, const ds3_request *request, ds3_complete_multipart_upload_result_response **_response, GByteArray *xml_blob)
static char * _get_ds3_storage_domain_member_state_str(ds3_storage_domain_member_state input)
void ds3_tape_failure_notification_payload_response_free(ds3_tape_failure_notification_payload_response *response)
size_t num_tape_density_directives
ds3_bool auto_eject_upon_media_full
static void _set_query_param_float(const ds3_request *_request, const char *key, float value)
ds3_error * ds3_modify_data_path_backend_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_path_backend_response **response)
static ds3_error * _parse_top_level_ds3_blob_store_tasks_information_response(const ds3_client *client, const ds3_request *request, ds3_blob_store_tasks_information_response **_response, GByteArray *xml_blob)
static char * _get_ds3_ltfs_file_naming_mode_str(ds3_ltfs_file_naming_mode input)
void ds3_client_register_logging(ds3_client *client, ds3_log_lvl log_lvl, void(*log_callback)(const char *log_message, void *user_data), void *user_data)
ds3_error * ds3_get_tape_partition_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_partition_response **response)
static ds3_error * _parse_top_level_ds3_tape_library_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_library_list_response **_response, GByteArray *xml_blob)
ds3_bool media_ejection_allowed
size_t num_named_detailed_tapes
static char * _get_ds3_data_isolation_level_str(ds3_data_isolation_level input)
ds3_named_detailed_tape_partition_response ** named_detailed_tape_partitions
ds3_request * ds3_init_get_object_persisted_notification_registration_spectra_s3_request(void)
void ds3_multipart_upload_part_response_free(ds3_multipart_upload_part_response *response)
void ds3_objects_response_free(ds3_objects_response *response)
void ds3_log_message(const ds3_log *log, ds3_log_lvl lvl, const char *message,...)
ds3_error * ds3_cancel_all_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_request_set_type_ds3_pool_failure_type(const ds3_request *request, const ds3_pool_failure_type value)
static ds3_application _match_ds3_application(const ds3_log *log, const xmlChar *text)
static ds3_storage_domain_member_state _match_ds3_storage_domain_member_state(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_modify_storage_domain_spectra_s3_request(const char *resource_id)
void ds3_request_reset_byte_range(ds3_request *_request)
size_t num_s3_object_cached_notification_registrations
uint64_t completed_size_in_bytes
ds3_request * ds3_init_put_bucket_acl_for_user_spectra_s3_request(const char *bucket_id, const ds3_bucket_acl_permission permission, const char *user_id)
ds3_request * ds3_init_delete_storage_domain_member_spectra_s3_request(const char *resource_id)
int last_http_response_code
ds3_error * ds3_delete_job_completed_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_put_data_policy_acl_for_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **response)
static ds3_database_physical_space_state _match_ds3_database_physical_space_state(const ds3_log *log, const xmlChar *text)
void ds3_request_set_management_url(const ds3_request *request, const char *value)
ds3_error * ds3_get_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
static ds3_error * _parse_ds3_pool_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_pool_response **_response)
void ds3_s3_object_cached_notification_registration_list_response_free(ds3_s3_object_cached_notification_registration_list_response *response)
void ds3_request_set_request_type_ds3_job_request_type(const ds3_request *request, const ds3_job_request_type value)
struct _ds3_metadata ds3_metadata
ds3_str * notification_end_point
int last_http_response_code
ds3_detailed_tape_failure_response * most_recent_failure
static ds3_error * _parse_top_level_ds3_tape_partition_failure_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_notification_registration_list_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_top_level_ds3_master_object_list_response(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **_response, GByteArray *xml_blob)
ds3_job_node_response ** nodes
static ds3_error * _parse_ds3_group_member_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_group_member_response **_response)
void ds3_request_set_versioning_ds3_versioning_level(const ds3_request *request, const ds3_versioning_level value)
ds3_request * ds3_init_get_object_request(const char *bucket_name, const char *object_name, const uint64_t length)
ds3_request_type notification_http_method
static char * _get_ds3_s3_object_type_str(ds3_s3_object_type input)
static ds3_error * _parse_ds3_job_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_job_response **_response)
static ds3_checksum_type _match_ds3_checksum_type(const ds3_log *log, const xmlChar *text)
static ds3_error * _parse_top_level_ds3_list_parts_result_response(const ds3_client *client, const ds3_request *request, ds3_list_parts_result_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_put_bucket_request(const char *bucket_name)
void ds3_request_set_user_id(const ds3_request *request, const char *value)
static ds3_error * _parse_ds3_cache_entry_information_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_cache_entry_information_response **_response)
ds3_delete_object_error_response ** errors
void ds3_request_set_ignore_naming_conflicts(const ds3_request *request, ds3_bool value)
void ds3_multi_part_upload_response_free(ds3_multi_part_upload_response *response)
void ds3_create_heap_dump_params_response_free(ds3_create_heap_dump_params_response *response)
void ds3_request_set_node_id(const ds3_request *request, const char *value)
ds3_request * ds3_init_get_tape_spectra_s3_request(const char *resource_id)
ds3_error * ds3_verify_physical_placement_for_objects_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_physical_placement_response **response)
uint64_t completed_size_in_bytes
void ds3_request_set_byte_range(ds3_request *_request, int64_t rangeStart, int64_t rangeEnd)
int last_http_response_code
void ds3_request_set_roll_back(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_modify_user_spectra_s3_request(const char *resource_id)
static const unsigned int UNSIGNED_LONG_BASE_10_STR_LEN
void ds3_client_free(ds3_client *client)
static ds3_error * _parse_ds3_named_detailed_tape_partition_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_named_detailed_tape_partition_response **_response)
static ds3_job_status _match_ds3_job_status(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_get_object_lost_notification_registrations_spectra_s3_request(void)
ds3_request * ds3_init_delete_pool_partition_spectra_s3_request(const char *resource_id)
void ds3_request_set_job(const ds3_request *request, const char *value)
static ds3_error * _parse_ds3_bulk_object_list_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_bulk_object_list_response **_response)
ds3_storage_domain_capacity_summary_response * pool
ds3_bool take_ownership_pending
void ds3_request_free(ds3_request *_request)
void ds3_request_set_unavailable_media_policy_ds3_unavailable_media_usage_policy(const ds3_request *request, const ds3_unavailable_media_usage_policy value)
ds3_storage_domain_failure_type type
ds3_request * ds3_init_put_data_policy_spectra_s3_request(const char *name)
ds3_error * ds3_delete_group_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_inspect_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_naming_convention_type naming_convention
static ds3_error * _parse_top_level_ds3_job_list_response(const ds3_client *client, const ds3_request *request, ds3_job_list_response **_response, GByteArray *xml_blob)
void ds3_request_set_built_in(const ds3_request *request, ds3_bool value)
static ds3_error * _parse_top_level_ds3_node_response(const ds3_client *client, const ds3_request *request, ds3_node_response **_response, GByteArray *xml_blob)
ds3_error *(* net_callback)(const struct _ds3_client *client, const ds3_request *_request, void *read_user_struct, size_t(*read_handler_func)(void *, size_t, size_t, void *), void *write_user_struct, size_t(*write_handler_func)(void *, size_t, size_t, void *), ds3_string_multimap **return_headers)
ds3_error * ds3_force_full_cache_reclaim_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_tape_density_directive_response ** tape_density_directives
void ds3_request_set_key_marker(const ds3_request *request, const char *value)
ds3_request * ds3_init_verify_bulk_job_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
ds3_error * ds3_get_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
static ds3_error * _parse_ds3_bucket_details_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_data_policy_id(const ds3_request *request, const char *value)
static ds3_error * _parse_ds3_tape_drive_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_drive_response **_response)
ds3_request * ds3_init_put_job_created_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_str * last_notification
ds3_error * ds3_modify_data_persistence_rule_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_response **response)
static ds3_error * _parse_top_level_ds3_bucket_acl_list_response(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_list_response **_response, GByteArray *xml_blob)
ds3_http_response_format_type format
ds3_error * ds3_get_tape_partitions_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_list_response **response)
static char * _get_ds3_tape_partition_failure_type_str(ds3_tape_partition_failure_type input)
void ds3_list_all_my_buckets_result_response_free(ds3_list_all_my_buckets_result_response *response)
void ds3_request_set_checksum_type_ds3_checksum_type(const ds3_request *request, const ds3_checksum_type value)
ds3_s3_object_lost_notification_registration_response ** s3_object_lost_notification_registrations
static ds3_error * _parse_ds3_objects_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_objects_response **_response)
ds3_priority verify_prior_to_auto_eject
ds3_error * ds3_put_pool_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_partition_response **response)
int number_of_failures_since_last_success
ds3_error * ds3_get_data_policies_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_list_response **response)
void ds3_request_set_bucket_id(const ds3_request *request, const char *value)
ds3_request * ds3_init_get_bucket_spectra_s3_request(const char *resource_id)
ds3_error * ds3_modify_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
ds3_error * ds3_modify_data_policy_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_response **response)
ds3_request * ds3_init_put_group_spectra_s3_request(const char *name)
ds3_error * ds3_put_multi_part_upload_part_request(const ds3_client *client, const ds3_request *request, void *user_data, size_t(*callback)(void *, size_t, size_t, void *))
void ds3_data_policy_acl_list_response_free(ds3_data_policy_acl_list_response *response)
static ds3_error * _parse_ds3_bucket_acl_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_bool blobbing_enabled
ds3_error * ds3_cancel_import_on_all_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_bool force_tape_removal
void ds3_request_set_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
ds3_error * ds3_delete_job_created_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_inspect_tape_spectra_s3_request(const char *resource_id)
static ds3_blob_store_task_state _match_ds3_blob_store_task_state(const ds3_log *log, const xmlChar *text)
void ds3_request_set_conflict_resolution_mode_ds3_replication_conflict_resolution_mode(const ds3_request *request, const ds3_replication_conflict_resolution_mode value)
static ds3_error * _parse_ds3_canceled_job_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_http_response_format_type _match_ds3_http_response_format_type(const ds3_log *log, const xmlChar *text)
ds3_pool_failure_type type
void ds3_metadata_keys_free(ds3_metadata_keys_result *metadata_keys)
ds3_str * upload_id_marker
void ds3_delete_objects_response_free(ds3_delete_objects_response *response)
void ds3_tape_failure_notification_registration_list_response_free(ds3_tape_failure_notification_registration_list_response *response)
static ds3_error * _parse_top_level_ds3_physical_placement_response(const ds3_client *client, const ds3_request *request, ds3_physical_placement_response **_response, GByteArray *xml_blob)
void ds3_bucket_response_free(ds3_bucket_response *response)
ds3_naming_convention_type naming_convention
ds3_str * last_notification
uint64_t physical_allocated
ds3_bucket_acl_permission
ds3_checksum_type checksum_type
ds3_error * ds3_get_pool_failure_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_failure_notification_registration_list_response **response)
ds3_str * storage_domain_id
ds3_error * ds3_get_cache_filesystem_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_cache_filesystem_response **response)
ds3_request * ds3_init_put_bucket_acl_for_group_spectra_s3_request(const char *bucket_id, const char *group_id, const ds3_bucket_acl_permission permission)
static ds3_str * xml_get_string(xmlDocPtr doc, xmlNodePtr child_node)
void ds3_request_set_last_page(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_get_tape_partition_failures_spectra_s3_request(void)
void ds3_detailed_s3_object_list_response_free(ds3_detailed_s3_object_list_response *response)
ds3_ltfs_file_naming_mode ltfs_file_naming
static ds3_error * _parse_top_level_ds3_list_multi_part_uploads_result_response(const ds3_client *client, const ds3_request *request, ds3_list_multi_part_uploads_result_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_put_user_group_member_spectra_s3_request(const char *group_id, const char *member_user_id)
ds3_str * pool_partition_id
ds3_request * ds3_init_get_tape_partition_with_full_details_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_detailed_tape_partition_response(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_partition_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_ds3_detailed_tape_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_detailed_tape_failure_response **_response)
static uint64_t xml_get_bool_from_attribute(const ds3_log *log, xmlDocPtr doc, struct _xmlAttr *attribute)
ds3_tape_partition_state state
ds3_request * ds3_init_replicate_put_job_spectra_s3_request(const char *resource_id, const char *payload)
static char * _get_ds3_tape_type_str(ds3_tape_type input)
static ds3_error * _parse_ds3_physical_placement_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_physical_placement_response **_response)
ds3_unavailable_media_usage_policy unavailable_media_policy
ds3_request * ds3_init_get_storage_domain_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_get_nodes_spectra_s3_request(void)
ds3_physical_placement_response * physical_placement
static ds3_error * _parse_ds3_system_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_system_failure_response **_response)
ds3_request * ds3_init_get_tape_partitions_spectra_s3_request(void)
ds3_priority default_put_job_priority
static char * _get_ds3_system_failure_type_str(ds3_system_failure_type input)
static ds3_error * _parse_ds3_cache_entry_information_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_s3_object_cached_notification_registration_response_free(ds3_s3_object_cached_notification_registration_response *response)
ds3_error * ds3_put_group_group_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_member_response **response)
ds3_tape_partition_state state
char * escape_url_range_header(const char *url)
void ds3_system_failure_list_response_free(ds3_system_failure_list_response *response)
ds3_pool_partition_response ** pool_partitions
int number_of_failures_since_last_success
ds3_request * ds3_init_put_data_persistence_rule_spectra_s3_request(const char *data_policy_id, const ds3_data_isolation_level isolation_level, const char *storage_domain_id, const ds3_data_persistence_rule_type type)
int maximum_auto_verification_frequency_in_days
ds3_error * ds3_get_blobs_on_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bulk_object_list_response **response)
static ds3_error * _parse_ds3_node_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_top_level_ds3_system_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_system_failure_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_cancel_format_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
unsigned int ds3_metadata_size(const ds3_metadata *_metadata)
void ds3_request_set_powered_on(const ds3_request *request, ds3_bool value)
void ds3_s3_objects_cached_notification_payload_response_free(ds3_s3_objects_cached_notification_payload_response *response)
ds3_str * next_upload_id_marker
static ds3_job_chunk_client_processing_order_guarantee _match_ds3_job_chunk_client_processing_order_guarantee(const ds3_log *log, const xmlChar *text)
static char * _get_ds3_job_request_type_str(ds3_job_request_type input)
void ds3_request_set_health_ds3_pool_health(const ds3_request *request, const ds3_pool_health value)
ds3_request * ds3_init_get_tape_partition_spectra_s3_request(const char *resource_id)
void ds3_request_set_activated(const ds3_request *request, ds3_bool value)
ds3_str * storage_domain_id
void ds3_health_verification_result_response_free(ds3_health_verification_result_response *response)
ds3_error * ds3_get_users_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_spectra_user_list_response **response)
static ds3_error * _parse_top_level_ds3_data_policy_response(const ds3_client *client, const ds3_request *request, ds3_data_policy_response **_response, GByteArray *xml_blob)
void ds3_node_list_response_free(ds3_node_list_response *response)
ds3_request * ds3_init_get_bucket_acls_spectra_s3_request(void)
void ds3_tape_failure_list_response_free(ds3_tape_failure_list_response *response)
uint64_t max_capacity_in_bytes
size_t num_tape_failure_notification_registrations
ds3_request * ds3_init_put_pool_storage_domain_member_spectra_s3_request(const char *pool_partition_id, const char *storage_domain_id)
void ds3_named_detailed_tape_partition_list_response_free(ds3_named_detailed_tape_partition_list_response *response)
static ds3_error * _parse_top_level_ds3_system_information_response(const ds3_client *client, const ds3_request *request, ds3_system_information_response **_response, GByteArray *xml_blob)
uint64_t cached_size_in_bytes
uint64_t completed_size_in_bytes
ds3_error * ds3_delete_bucket_request(const ds3_client *client, const ds3_request *request)
ds3_string_multimap_entry * ds3_string_multimap_lookup(ds3_string_multimap *map, const ds3_str *key)
ds3_request * ds3_init_allocate_job_chunk_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_tape_drive_response(const ds3_client *client, const ds3_request *request, ds3_tape_drive_response **_response, GByteArray *xml_blob)
void ds3_pool_failure_response_free(ds3_pool_failure_response *response)
void ds3_tape_drive_list_response_free(ds3_tape_drive_list_response *response)
ds3_request * ds3_init_delete_pool_failure_spectra_s3_request(const char *resource_id)
static void _cleanup_hash_value(gpointer value)
void ds3_request_set_library_id(const ds3_request *request, const char *value)
void ds3_request_set_quiesced_ds3_quiesced(const ds3_request *request, const ds3_quiesced value)
ds3_error * ds3_list_multi_part_upload_parts_request(const ds3_client *client, const ds3_request *request, ds3_list_parts_result_response **response)
static ds3_error * _parse_ds3_group_member_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_ds3_bucket_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_delete_permanently_lost_pool_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_tape_library_response(const ds3_client *client, const ds3_request *request, ds3_tape_library_response **_response, GByteArray *xml_blob)
ds3_naming_convention_type naming_convention
ds3_request * ds3_init_delete_data_policy_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_regenerate_user_secret_key_spectra_s3_request(const char *resource_id)
ds3_replication_conflict_resolution_mode
size_t num_job_created_notification_registrations
ds3_request * ds3_init_clear_all_completed_jobs_spectra_s3_request(void)
ds3_error * ds3_get_bucket_acls_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_list_response **response)
static ds3_data_isolation_level _match_ds3_data_isolation_level(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_get_pool_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_failure_notification_registration_response **response)
ds3_priority verify_pending
ds3_request * ds3_init_get_canceled_jobs_spectra_s3_request(void)
ds3_error * ds3_delete_system_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static char * _get_ds3_write_preference_level_str(ds3_write_preference_level input)
static ds3_error * _parse_top_level_ds3_storage_domain_failure_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_notification_registration_list_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_ds3_data_persistence_rule_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_data_policy_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_response **response)
ds3_bulk_object_response ** objects
void ds3_request_set_offset(const ds3_request *request, const uint64_t value)
ds3_request * ds3_init_get_service_request(void)
ds3_error * ds3_format_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_error * ds3_put_bulk_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
ds3_error * ds3_get_object_persisted_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_persisted_notification_registration_response **response)
ds3_request * ds3_init_delete_tape_partition_failure_spectra_s3_request(const char *resource_id)
ds3_objects_response ** objects
void ds3_active_job_list_response_free(ds3_active_job_list_response *response)
void ds3_s3_object_list_response_free(ds3_s3_object_list_response *response)
ds3_error * ds3_get_object_cached_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_cached_notification_registration_response **response)
void ds3_named_detailed_tape_list_response_free(ds3_named_detailed_tape_list_response *response)
ds3_request * ds3_init_get_cache_filesystems_spectra_s3_request(void)
ds3_error * ds3_get_pool_failures_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_failure_list_response **response)
ds3_error * ds3_get_tape_library_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_library_response **response)
ds3_request * ds3_init_put_tape_failure_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_request * ds3_init_delete_data_persistence_rule_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_delete_permanently_lost_tape_spectra_s3_request(const char *resource_id)
ds3_error * ds3_put_tape_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_notification_registration_response **response)
void ds3_data_path_backend_response_free(ds3_data_path_backend_response *response)
ds3_request * ds3_init_verify_all_tapes_spectra_s3_request(void)
void ds3_request_set_partition_id(const ds3_request *request, const char *value)
ds3_request * ds3_init_get_data_policy_acls_spectra_s3_request(void)
ds3_request * ds3_init_get_put_job_to_replicate_spectra_s3_request(const char *resource_id)
size_t num_data_persistence_rules
int number_of_failures_since_last_success
void ds3_request_set_auth_id(const ds3_request *request, const char *value)
void ds3_request_set_tape_id(const ds3_request *request, const char *value)
ds3_request * ds3_init_verify_all_pools_spectra_s3_request(void)
void ds3_storage_domain_failure_notification_registration_response_free(ds3_storage_domain_failure_notification_registration_response *response)
void ds3_request_set_task_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
static ds3_error * _parse_ds3_objects_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_put_multi_part_upload_part_request(const char *bucket_name, const char *object_name, const int part_number, const char *upload_id)
static ds3_error * _parse_ds3_pool_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_ds3_completed_job_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_completed_job_response **_response)
static ds3_error * _parse_top_level_ds3_storage_domain_member_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_response **_response, GByteArray *xml_blob)
uint64_t total_raw_capacity
void ds3_database_contents_response_free(ds3_database_contents_response *response)
ds3_error * ds3_modify_cache_filesystem_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_cache_filesystem_response **response)
ds3_priority verify_pending
ds3_str ** common_prefixes
static ds3_error * _parse_top_level_ds3_storage_domain_failure_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_notification_registration_response **_response, GByteArray *xml_blob)
ds3_error * ds3_modify_tape_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_response **response)
ds3_error * ds3_delete_group_member_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_data_policy_acl_response ** data_policy_acls
ds3_request * ds3_init_import_pool_spectra_s3_request(const char *resource_id)
size_t num_job_completed_notification_registrations
ds3_request * ds3_init_get_users_spectra_s3_request(void)
ds3_request * ds3_init_force_full_cache_reclaim_spectra_s3_request(void)
static ds3_error * _parse_ds3_storage_domain_member_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_top_level_ds3_s3_object_list_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_list_response **_response, GByteArray *xml_blob)
ds3_pool_response ** pools
ds3_error * ds3_put_tape_storage_domain_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_response **response)
static ds3_error * _parse_top_level_ds3_group_list_response(const ds3_client *client, const ds3_request *request, ds3_group_list_response **_response, GByteArray *xml_blob)
ds3_user_response * owner
ds3_system_failure_response ** system_failures
void ds3_request_set_media_ejection_allowed(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_get_job_chunks_ready_for_client_processing_spectra_s3_request(const char *job)
ds3_error * ds3_delete_tape_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_put_data_policy_acl_for_user_spectra_s3_request(const char *data_policy_id, const char *user_id)
static ds3_error * _parse_ds3_tape_failure_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_failure_notification_registration_response **_response)
void ds3_job_created_notification_payload_response_free(ds3_job_created_notification_payload_response *response)
void ds3_tape_list_response_free(ds3_tape_list_response *response)
ds3_request * ds3_init_abort_multi_part_upload_request(const char *bucket_name, const char *object_name, const char *upload_id)
ds3_bucket_acl_response ** bucket_acls
static ds3_tape_drive_type _match_ds3_tape_drive_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_get_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_list_response **response)
ds3_error * ds3_import_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_request * ds3_init_get_user_spectra_s3_request(const char *resource_id)
ds3_bool end_to_end_crc_required
static ds3_error * _parse_ds3_tape_partition_failure_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_top_level_ds3_s3_object_lost_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_lost_notification_registration_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_storage_domain_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_response **response)
ds3_error * ds3_get_tape_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_notification_registration_response **response)
ds3_error * ds3_create_error(ds3_error_code code, const char *message)
ds3_database_physical_space_state database_filesystem_free_space
static ds3_error * _parse_top_level_ds3_health_verification_result_response(const ds3_client *client, const ds3_request *request, ds3_health_verification_result_response **_response, GByteArray *xml_blob)
ds3_http_response_format_type format
ds3_job_chunk_client_processing_order_guarantee
void ds3_request_set_pool_type_ds3_pool_type(const ds3_request *request, const ds3_pool_type value)
ds3_error * ds3_force_tape_environment_refresh_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_bulk_object_response_free(ds3_bulk_object_response *response)
ds3_error * ds3_delete_permanently_lost_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_group_member_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_delete_object_lost_notification_registration_spectra_s3_request(void)
void ds3_data_policy_acl_response_free(ds3_data_policy_acl_response *response)
ds3_str * notification_generation_date
static char * _get_ds3_data_persistence_rule_state_str(ds3_data_persistence_rule_state input)
void ds3_storage_domain_failure_notification_registration_list_response_free(ds3_storage_domain_failure_notification_registration_list_response *response)
ds3_tape_type * tape_types
static ds3_error * _parse_ds3_blob_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_blob_response **_response)
ds3_request * ds3_init_put_bucket_spectra_s3_request(const char *name)
size_t num_tape_partition_failures
uint64_t cached_size_in_bytes
ds3_error * ds3_get_cache_filesystems_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_cache_filesystem_list_response **response)
ds3_error * ds3_get_put_job_to_replicate_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_str *response)
static ds3_error * _parse_top_level_ds3_job_completed_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_job_completed_notification_registration_response **_response, GByteArray *xml_blob)
void ds3_request_set_version(const ds3_request *request, const uint64_t value)
ds3_request * ds3_init_delete_tape_density_directive_spectra_s3_request(const char *resource_id)
ds3_bulk_object_list_response * ds3_init_bulk_object_list()
ds3_request_type notification_http_method
void ds3_request_set_tape_partition_id(const ds3_request *request, const char *value)
static uint64_t xml_get_uint64(xmlDocPtr doc, xmlNodePtr child_node)
ds3_error * ds3_put_pool_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_failure_notification_registration_response **response)
ds3_str * last_notification
int minimum_days_to_retain
ds3_delete_objects_response * delete_objects
ds3_str * notification_generation_date
ds3_error * ds3_verify_physical_placement_for_objects_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bulk_object_list_response **response)
ds3_error * ds3_get_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_list_response **response)
ds3_request * ds3_init_online_all_tapes_spectra_s3_request(void)
ds3_request * ds3_init_cancel_all_jobs_spectra_s3_request(void)
ds3_request * ds3_init_force_pool_environment_refresh_spectra_s3_request(void)
size_t ds3_write_to_fd(void *buffer, size_t size, size_t nmemb, void *user_data)
ds3_error * ds3_force_pool_environment_refresh_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_get_completed_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_completed_job_list_response **response)
ds3_request * ds3_init_get_group_spectra_s3_request(const char *resource_id)
ds3_error * ds3_get_tape_libraries_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_library_list_response **response)
ds3_error * ds3_put_bucket_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_response **response)
ds3_error * ds3_get_job_created_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_created_notification_registration_list_response **response)
ds3_error * ds3_get_active_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_active_job_list_response **response)
static ds3_error * _parse_ds3_job_node_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_job_node_response **_response)
void ds3_storage_domain_capacity_summary_response_free(ds3_storage_domain_capacity_summary_response *response)
void ds3_request_set_end_to_end_crc_required(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_get_pool_spectra_s3_request(const char *resource_id)
ds3_error * ds3_complete_multi_part_upload_request(const ds3_client *client, const ds3_request *request, ds3_complete_multipart_upload_result_response **response)
uint64_t completed_size_in_bytes
ds3_request * ds3_init_put_system_failure_notification_registration_spectra_s3_request(const char *notification_end_point)
static char * _get_ds3_auto_inspect_mode_str(ds3_auto_inspect_mode input)
ds3_error * ds3_modify_node_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_node_response **response)
ds3_request * ds3_init_put_object_persisted_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_request * ds3_init_delete_object_request(const char *bucket_name, const char *object_name)
ds3_error * ds3_get_storage_domain_failure_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_notification_registration_list_response **response)
int last_http_response_code
size_t ds3_write_to_file(void *buffer, size_t size, size_t nmemb, void *user_data)
ds3_request * ds3_init_modify_bucket_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_data_policy_list_response(const ds3_client *client, const ds3_request *request, ds3_data_policy_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_verify_pool_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_ds3_s3_object_persisted_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_s3_object_persisted_notification_registration_response **_response)
void ds3_request_set_created_at(const ds3_request *request, const char *value)
void ds3_request_set_tape_type_ds3_tape_type(const ds3_request *request, const ds3_tape_type value)
void ds3_request_set_type_ds3_s3_object_type(const ds3_request *request, const ds3_s3_object_type value)
ds3_request * ds3_init_get_object_lost_notification_registration_spectra_s3_request(void)
void ds3_request_set_write_protected(const ds3_request *request, ds3_bool value)
ds3_error * ds3_put_global_data_policy_acl_for_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **response)
static ds3_tape_partition_state _match_ds3_tape_partition_state(const ds3_log *log, const xmlChar *text)
void ds3_request_set_pool_state_ds3_pool_state(const ds3_request *request, const ds3_pool_state value)
size_t num_tape_partitions
size_t num_system_failures
ds3_http_response_format_type
ds3_request * ds3_init_get_object_cached_notification_registrations_spectra_s3_request(void)
static char * _get_ds3_tape_state_str(ds3_tape_state input)
ds3_bulk_object_list_response * ds3_convert_object_list(const ds3_contents_response **objects, size_t num_objects)
ds3_str * storage_domain_id
ds3_error * ds3_get_pool_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_partition_response **response)
ds3_storage_domain_failure_response ** storage_domain_failures
static ds3_error * _parse_top_level_ds3_job_completed_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_job_completed_notification_registration_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_get_object_spectra_s3_request(const char *resource_id, const char *bucket_id)
void ds3_request_set_max_capacity_in_bytes(const ds3_request *request, const uint64_t value)
void ds3_request_set_sha512(ds3_request *_request, const char *sha512)
ds3_request * ds3_init_put_data_policy_acl_for_group_spectra_s3_request(const char *data_policy_id, const char *group_id)
void ds3_complete_multipart_upload_result_response_free(ds3_complete_multipart_upload_result_response *response)
void ds3_request_set_tape_state_ds3_tape_state(const ds3_request *request, const ds3_tape_state value)
ds3_http_response_format_type format
ds3_error * ds3_compact_all_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_system_failure_notification_registration_list_response_free(ds3_system_failure_notification_registration_list_response *response)
void ds3_storage_domain_failure_notification_payload_response_free(ds3_storage_domain_failure_notification_payload_response *response)
GHashTable * query_params
void ds3_request_set_storage_domain_id(const ds3_request *request, const char *value)
void ds3_request_set_default_put_job_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
void ds3_request_set_auto_reclaim_initiate_threshold(const ds3_request *request, const float value)
static ds3_write_optimization _match_ds3_write_optimization(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_delete_storage_domain_spectra_s3_request(const ds3_client *client, const ds3_request *request)
size_t num_detailed_s3_objects
static ds3_error * _parse_ds3_bucket_acl_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_bucket_acl_response **_response)
ds3_data_persistence_rule_response ** data_persistence_rules
void ds3_storage_domain_list_response_free(ds3_storage_domain_list_response *response)
void ds3_detailed_tape_partition_response_free(ds3_detailed_tape_partition_response *response)
ds3_request * ds3_init_get_storage_domain_failure_notification_registration_spectra_s3_request(void)
ds3_error * ds3_put_object_lost_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_lost_notification_registration_response **response)
static ds3_error * _parse_top_level_ds3_job_created_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_job_created_notification_registration_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_top_level_ds3_bucket_list_response(const ds3_client *client, const ds3_request *request, ds3_bucket_list_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_ds3_multi_part_upload_part_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_job_id(const ds3_request *request, const char *value)
static ds3_error * _parse_top_level_ds3_pool_list_response(const ds3_client *client, const ds3_request *request, ds3_pool_list_response **_response, GByteArray *xml_blob)
ds3_storage_domain_response ** storage_domains
ds3_request_type notification_http_method
ds3_error * ds3_delete_bucket_acl_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_job_completed_notification_registration_spectra_s3_request(void)
ds3_request * ds3_init_get_object_persisted_notification_registrations_spectra_s3_request(void)
void ds3_request_set_maximum_auto_verification_frequency_in_days(const ds3_request *request, const int value)
ds3_error * ds3_inspect_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_error * ds3_cancel_import_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
static ds3_bulk_object_response * _ds3_bulk_object_from_file(const char *file_name, const char *base_path)
ds3_bool assigned_to_storage_domain
ds3_error * ds3_get_storage_domain_capacity_summary_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_capacity_summary_container_response **response)
ds3_str * notification_generation_date
void ds3_request_set_auto_activate_timeout_in_mins(const ds3_request *request, const int value)
static char * _get_ds3_tape_drive_type_str(ds3_tape_drive_type input)
size_t num_storage_domains
ds3_naming_convention_type naming_convention
ds3_request * ds3_init_compact_all_pools_spectra_s3_request(void)
ds3_request * ds3_init_delete_storage_domain_failure_spectra_s3_request(const char *resource_id)
ds3_tape_drive_type drive_type
ds3_request * ds3_init_verify_physical_placement_for_objects_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
ds3_error * ds3_head_object_request(const ds3_client *client, const ds3_request *request, ds3_metadata **_metadata)
static ds3_error * _parse_ds3_named_detailed_tape_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
int last_http_response_code
static ds3_error * _parse_top_level_ds3_completed_job_list_response(const ds3_client *client, const ds3_request *request, ds3_completed_job_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_delete_object_persisted_notification_registration_spectra_s3_request(void)
ds3_error * ds3_get_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_list_response **response)
size_t ds3_load_buffer(void *buffer, size_t size, size_t nmemb, void *user_data)
static ds3_error * _parse_ds3_node_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_node_response **_response)
ds3_error * ds3_get_cache_state_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_cache_information_response **response)
ds3_request * ds3_init_delete_data_policy_acl_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_ds3_build_information_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_build_information_response **_response)
ds3_request_type notification_http_method
void ds3_s3_object_persisted_notification_registration_list_response_free(ds3_s3_object_persisted_notification_registration_list_response *response)
void ds3_request_set_error_message(const ds3_request *request, const char *value)
static ds3_error * _parse_ds3_s3_object_lost_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_s3_object_lost_notification_registration_response **_response)
ds3_naming_convention_type naming_convention
ds3_error * ds3_verify_all_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_blob_store_task_state
static ds3_error * _parse_ds3_s3_object_cached_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_job_completed_notification_registration_response_free(ds3_job_completed_notification_registration_response *response)
ds3_error * ds3_cancel_format_on_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_request * ds3_init_format_tape_spectra_s3_request(const char *resource_id)
int number_of_failures_since_last_success
float max_percent_utilization_of_filesystem
void ds3_request_set_upload_id_marker(const ds3_request *request, const char *value)
ds3_error * ds3_get_storage_domain_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_response **response)
ds3_tape_drive_state state
static ds3_rest_domain_type _match_ds3_rest_domain_type(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_cancel_import_pool_spectra_s3_request(const char *resource_id)
ds3_bool assigned_to_storage_domain
void ds3_request_set_preferred_number_of_chunks(const ds3_request *request, const int value)
static xmlDocPtr _generate_xml_complete_mpu(const ds3_complete_multipart_upload_response *mpu_list)
ds3_request * ds3_init_modify_data_policy_spectra_s3_request(const char *resource_id)
void ds3_request_set_eject_label(const ds3_request *request, const char *value)
void ds3_pool_failure_notification_registration_list_response_free(ds3_pool_failure_notification_registration_list_response *response)
ds3_str * notification_generation_date
ds3_error * ds3_get_tapes_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_named_detailed_tape_list_response **response)
size_t num_detailed_tape_failures
ds3_data_persistence_rule_type
static ds3_error * _parse_ds3_tape_drive_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_naming_convention_type
ds3_pool_failure_response ** pool_failures
ds3_bool take_ownership_pending
void ds3_request_set_type_ds3_pool_type(const ds3_request *request, const ds3_pool_type value)
void ds3_request_set_auto_eject_upon_media_full(const ds3_request *request, ds3_bool value)
ds3_error * ds3_delete_pool_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_bucket_request(const char *bucket_name)
void ds3_blob_response_free(ds3_blob_response *response)
ds3_request * ds3_init_delete_bucket_acl_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_modify_tape_spectra_s3_request(const char *resource_id)
void ds3_str_free(ds3_str *string)
ds3_completed_job_response ** completed_jobs
ds3_error * ds3_delete_object_lost_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
int number_of_failures_since_last_success
ds3_job_request_type request_type
static ds3_error * _parse_top_level_ds3_storage_domain_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_get_data_policies_spectra_s3_request(void)
static ds3_error * _parse_top_level_ds3_bulk_object_list_response(const ds3_client *client, const ds3_request *request, ds3_bulk_object_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_bucket_capacity_summary_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_capacity_summary_container_response **response)
ds3_str * ds3_str_dup(const ds3_str *string)
void ds3_list_bucket_result_response_free(ds3_list_bucket_result_response *response)
ds3_naming_convention_type naming_convention
ds3_error * ds3_get_object_cached_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_cached_notification_registration_list_response **response)
ds3_error * ds3_modify_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
static ds3_rest_action_type _match_ds3_rest_action_type(const ds3_log *log, const xmlChar *text)
size_t num_system_failure_notification_registrations
ds3_data_persistence_rule_type type
ds3_request * ds3_init_get_data_policy_acl_spectra_s3_request(const char *resource_id)
void ds3_request_set_max_uploads(const ds3_request *request, const int value)
The public definitions for the Spectra S3 C SDK.
ds3_job_request_type request_type
static ds3_error * _parse_top_level_ds3_tape_drive_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_drive_list_response **_response, GByteArray *xml_blob)
void ds3_pool_failure_notification_registration_response_free(ds3_pool_failure_notification_registration_response *response)
void ds3_s3_object_persisted_notification_registration_response_free(ds3_s3_object_persisted_notification_registration_response *response)
ds3_request * ds3_init_get_tapes_spectra_s3_request(void)
static void _set_query_param(const ds3_request *_request, const char *key, const char *value)
static ds3_error * _parse_top_level_ds3_node_list_response(const ds3_client *client, const ds3_request *request, ds3_node_list_response **_response, GByteArray *xml_blob)
int blobs_being_persisted
ds3_str * default_data_policy_id
ds3_str * last_notification
ds3_error * ds3_cancel_online_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_error * ds3_get_system_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_system_failure_notification_registration_response **response)
static void _set_query_param_flag(const ds3_request *_request, const char *key, ds3_bool value)
void ds3_request_set_force(const ds3_request *request, ds3_bool value)
ds3_error * ds3_delete_tape_density_directive_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_storage_domain_failure_notification_registrations_spectra_s3_request(void)
ds3_error * ds3_allocate_job_chunk_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_objects_response **response)
ds3_request * ds3_init_get_active_jobs_spectra_s3_request(void)
static ds3_error * _parse_ds3_data_policy_acl_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_delete_tape_failure_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_tape_library_response_free(ds3_tape_library_response *response)
void ds3_tape_partition_failure_notification_registration_response_free(ds3_tape_partition_failure_notification_registration_response *response)
ds3_request * ds3_init_get_storage_domain_members_spectra_s3_request(void)
ds3_request * ds3_init_get_data_planner_blob_store_tasks_spectra_s3_request(void)
ds3_str * notification_end_point
uint64_t reserved_capacity
static ds3_error * _parse_top_level_ds3_storage_domain_member_list_response(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_list_response **_response, GByteArray *xml_blob)
static GHashTable * _create_hash_table(void)
ds3_request * ds3_init_format_foreign_pool_spectra_s3_request(const char *resource_id)
ds3_error * ds3_get_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
void ds3_request_set_group_id(const ds3_request *request, const char *value)
void ds3_request_set_aggregating(const ds3_request *request, ds3_bool value)
ds3_error * ds3_modify_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
static char * _get_ds3_bucket_acl_permission_str(ds3_bucket_acl_permission input)
ds3_request * ds3_init_verify_physical_placement_for_objects_with_full_details_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
ds3_str * beans_retriever_name
static ds3_error * _parse_ds3_pool_partition_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_pool_partition_response **_response)
ds3_request * ds3_init_get_data_persistence_rule_spectra_s3_request(const char *resource_id)
void ds3_s3_objects_lost_notification_payload_response_free(ds3_s3_objects_lost_notification_payload_response *response)
ds3_system_failure_notification_registration_response ** system_failure_notification_registrations
size_t num_tape_libraries
static ds3_error * _parse_ds3_storage_domain_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_storage_domain_response **_response)
int number_of_failures_since_last_success
static ds3_error * _parse_top_level_ds3_s3_object_persisted_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_persisted_notification_registration_list_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_ds3_job_node_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_import_all_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_str * notification_end_point
static ds3_error * _parse_ds3_storage_domain_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static bool element_equal(const xmlNodePtr xml_node, const char *element_name)
void ds3_job_response_free(ds3_job_response *response)
static ds3_bool xml_get_bool(const ds3_log *log, xmlDocPtr doc, const xmlNodePtr xml_node)
ds3_error * ds3_put_storage_domain_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_notification_registration_response **response)
static char * _get_ds3_tape_drive_state_str(ds3_tape_drive_state input)
void ds3_tape_density_directive_response_free(ds3_tape_density_directive_response *response)
ds3_str * notification_generation_date
ds3_error * ds3_cancel_eject_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
ds3_request * ds3_init_modify_all_pools_spectra_s3_request(const ds3_quiesced quiesced)
ds3_job_chunk_client_processing_order_guarantee chunk_client_processing_order_guarantee
void ds3_request_set_assigned_to_storage_domain(const ds3_request *request, ds3_bool value)
void ds3_node_response_free(ds3_node_response *response)
static ds3_error * _parse_ds3_tape_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_failure_response **_response)
ds3_request * ds3_init_eject_all_tapes_spectra_s3_request(void)
ds3_job_completed_notification_registration_response ** job_completed_notification_registrations
ds3_write_preference_level write_preference
ds3_request * ds3_init_get_physical_placement_for_objects_with_full_details_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
void ds3_cache_filesystem_list_response_free(ds3_cache_filesystem_list_response *response)
static ds3_error * _parse_top_level_ds3_group_member_list_response(const ds3_client *client, const ds3_request *request, ds3_group_member_list_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_top_level_ds3_cache_filesystem_response(const ds3_client *client, const ds3_request *request, ds3_cache_filesystem_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_tape_density_directives_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_density_directive_list_response **response)
static ds3_s3_object_type _match_ds3_s3_object_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_delete_storage_domain_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_get_job_completed_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_completed_notification_registration_response **response)
ds3_request * ds3_init_modify_pool_spectra_s3_request(const char *resource_id)
ds3_multi_part_upload_response ** uploads
ds3_request * ds3_init_deallocate_pool_spectra_s3_request(const char *resource_id)
void ds3_request_set_minimum_days_to_retain(const ds3_request *request, const int value)
ds3_request * ds3_init_get_object_cached_notification_registration_spectra_s3_request(void)
static char * _get_ds3_job_chunk_client_processing_order_guarantee_str(ds3_job_chunk_client_processing_order_guarantee input)
static ds3_error * _parse_ds3_type_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_type_response **_response)
ds3_error * ds3_delete_storage_domain_failure_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_get_data_planner_blob_store_tasks_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_blob_store_tasks_information_response **response)
ds3_bulk_object_list_response * object_list
uint64_t default_blob_size
ds3_error * ds3_delete_folder_recursively_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static ds3_error * _parse_ds3_tape_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_duration_response_free(ds3_duration_response *response)
void ds3_cache_filesystem_information_response_free(ds3_cache_filesystem_information_response *response)
void ds3_request_set_burst_threshold(const ds3_request *request, const float value)
ds3_data_persistence_rule_state
ds3_error * ds3_modify_storage_domain_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_response **response)
void ds3_job_completed_notification_payload_response_free(ds3_job_completed_notification_payload_response *response)
ds3_error * ds3_get_tape_density_directive_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_density_directive_response **response)
void ds3_request_set_conflict_resolution_mode_ds3_import_conflict_resolution_mode(const ds3_request *request, const ds3_import_conflict_resolution_mode value)
ds3_tape_partition_failure_response ** tape_partition_failures
int last_http_response_code
ds3_request * ds3_init_get_degraded_buckets_spectra_s3_request(void)
unsigned int ds3_string_multimap_entry_get_num_values(const ds3_string_multimap_entry *map_entry)
static ds3_error * _parse_ds3_active_job_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_ltfs_file_naming_ds3_ltfs_file_naming_mode(const ds3_request *request, const ds3_ltfs_file_naming_mode value)
ds3_request * ds3_init_get_tape_failure_notification_registration_spectra_s3_request(void)
ds3_error * ds3_replicate_put_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
ds3_error * ds3_get_tape_partition_failure_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_notification_registration_list_response **response)
uint64_t available_raw_capacity
ds3_bulk_object_response ** objects
ds3_request * ds3_init_get_pools_spectra_s3_request(void)
ds3_str * description_for_identification
static ds3_error * _parse_ds3_contents_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_contents_response **_response)
static uint64_t xml_get_uint64_from_attribute(xmlDocPtr doc, struct _xmlAttr *attribute)
static char * _get_ds3_tape_partition_state_str(ds3_tape_partition_state input)
ds3_request * ds3_init_put_tape_partition_failure_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_error * ds3_cancel_import_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
void ds3_active_job_response_free(ds3_active_job_response *response)
size_t num_s3_object_lost_notification_registrations
ds3_versioning_level versioning
ds3_metadata_entry * ds3_metadata_get_entry(const ds3_metadata *_metadata, const char *name)
static char * _get_ds3_pool_failure_type_str(ds3_pool_failure_type input)
static ds3_error * _parse_ds3_named_detailed_tape_partition_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_ds3_pool_partition_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_delete_tape_drive_spectra_s3_request(const char *resource_id)
ds3_error * ds3_get_physical_placement_for_objects_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bulk_object_list_response **response)
static ds3_versioning_level _match_ds3_versioning_level(const ds3_log *log, const xmlChar *text)
static ds3_ltfs_file_naming_mode _match_ds3_ltfs_file_naming_mode(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_cancel_online_tape_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_system_failure_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_system_failure_notification_registration_list_response **_response, GByteArray *xml_blob)
ds3_pool_failure_notification_registration_response ** pool_failure_notification_registrations
ds3_request * ds3_init_put_global_data_policy_acl_for_group_spectra_s3_request(const char *group_id)
ds3_error * ds3_get_bucket_request(const ds3_client *client, const ds3_request *request, ds3_list_bucket_result_response **response)
static ds3_quiesced _match_ds3_quiesced(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_head_bucket_request(const char *bucket_name)
static ds3_error * _parse_ds3_system_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_blobs_on_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bulk_object_list_response **response)
ds3_request * ds3_init_modify_cache_filesystem_spectra_s3_request(const char *resource_id)
void ds3_request_set_pool_id(const ds3_request *request, const char *value)
void ds3_storage_domain_member_list_response_free(ds3_storage_domain_member_list_response *response)
ds3_write_optimization write_optimization
ds3_str * notification_end_point
ds3_request * ds3_init_get_cache_filesystem_spectra_s3_request(const char *resource_id)
void ds3_request_set_pool_health_ds3_pool_health(const ds3_request *request, const ds3_pool_health value)
static char * _get_ds3_request_type_str(ds3_request_type input)
static ds3_error * _parse_top_level_ds3_s3_object_persisted_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_persisted_notification_registration_response **_response, GByteArray *xml_blob)
static ds3_error * _parse_ds3_tape_partition_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_top_level_ds3_pool_partition_list_response(const ds3_client *client, const ds3_request *request, ds3_pool_partition_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_eject_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
static ds3_error * _parse_ds3_bulk_object_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_tape_partition_state state
void ds3_request_set_member_user_id(const ds3_request *request, const char *value)
static ds3_pool_failure_type _match_ds3_pool_failure_type(const ds3_log *log, const xmlChar *text)
ds3_multi_part_upload_part_response ** parts
ds3_error * ds3_get_object_persisted_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_persisted_notification_registration_list_response **response)
void ds3_detailed_tape_failure_response_free(ds3_detailed_tape_failure_response *response)
void ds3_pool_failure_notification_payload_response_free(ds3_pool_failure_notification_payload_response *response)
ds3_request * ds3_init_delete_system_failure_notification_registration_spectra_s3_request(void)
void ds3_request_set_default_data_policy_id(const ds3_request *request, const char *value)
ds3_str * last_notification
static ds3_error * _parse_ds3_data_policy_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_complete_multi_part_upload_request(const char *bucket_name, const char *object_name, const char *upload_id, const ds3_complete_multipart_upload_response *mpu_list)
uint64_t original_size_in_bytes
ds3_request * ds3_init_delete_group_member_spectra_s3_request(const char *resource_id)
ds3_bool assigned_to_storage_domain
static ds3_error * _parse_ds3_storage_domain_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_metadata_entry * ds3_metadata_entry_init(ds3_string_multimap_entry *header_entry)
static ds3_tape_type _match_ds3_tape_type(const ds3_log *log, const xmlChar *text)
static char * _get_ds3_http_response_format_type_str(ds3_http_response_format_type input)
uint64_t logical_used_capacity
static ds3_error * _parse_ds3_pool_failure_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_pool_failure_notification_registration_response **_response)
ds3_request * ds3_init_get_completed_jobs_spectra_s3_request(void)
ds3_error * ds3_delete_tape_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_put_job_created_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_created_notification_registration_response **response)
size_t num_s3_object_persisted_notification_registrations
ds3_request * ds3_init_get_objects_with_full_details_spectra_s3_request(void)
void ds3_blob_store_tasks_information_response_free(ds3_blob_store_tasks_information_response *response)
ds3_request * ds3_init_cancel_format_tape_spectra_s3_request(const char *resource_id)
static int num_chars_in_ds3_str(const ds3_str *str, char ch)
void ds3_cache_entry_information_response_free(ds3_cache_entry_information_response *response)
static ds3_error * _parse_ds3_cache_filesystem_information_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_error * _parse_ds3_detailed_tape_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_pool_type _match_ds3_pool_type(const ds3_log *log, const xmlChar *text)
void ds3_request_set_full_of_data(const ds3_request *request, ds3_bool value)
static ds3_error * _parse_ds3_blob_store_task_information_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_put_object_request(const ds3_client *client, const ds3_request *request, void *user_data, size_t(*callback)(void *, size_t, size_t, void *))
ds3_naming_convention_type naming_convention
static ds3_error * _parse_ds3_tape_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_delete_pool_failure_notification_registration_spectra_s3_request(void)
static ds3_error * _parse_ds3_system_failure_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_system_failure_notification_registration_response **_response)
ds3_error * ds3_verify_user_is_member_of_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_response **response)
static ds3_error * _parse_top_level_ds3_list_all_my_buckets_result_response(const ds3_client *client, const ds3_request *request, ds3_list_all_my_buckets_result_response **_response, GByteArray *xml_blob)
static void _set_query_param_uint64_t(const ds3_request *_request, const char *key, uint64_t value)
static const char * METADATA_PREFIX
static ds3_error * _parse_top_level_ds3_cache_filesystem_list_response(const ds3_client *client, const ds3_request *request, ds3_cache_filesystem_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_force_tape_environment_refresh_spectra_s3_request(void)
void ds3_request_set_isolation_level_ds3_data_isolation_level(const ds3_request *request, const ds3_data_isolation_level value)
static ds3_error * _parse_ds3_data_persistence_rule_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_data_persistence_rule_response **_response)
void ds3_bucket_acl_response_free(ds3_bucket_acl_response *response)
ds3_tape_partition_failure_type type
static ds3_error * _parse_top_level_ds3_spectra_user_response(const ds3_client *client, const ds3_request *request, ds3_spectra_user_response **_response, GByteArray *xml_blob)
static void _set_map_value(GHashTable *map, const char *key, const char *value)
ds3_import_export_configuration import_export_configuration
ds3_error * ds3_get_bucket_acl_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **response)
ds3_priority verify_pending
void ds3_contents_response_free(ds3_contents_response *response)
void ds3_request_set_state_ds3_data_persistence_rule_state(const ds3_request *request, const ds3_data_persistence_rule_state value)
static ds3_error * _parse_top_level_ds3_group_member_response(const ds3_client *client, const ds3_request *request, ds3_group_member_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_cancel_eject_tape_spectra_s3_request(const char *resource_id)
ds3_error * ds3_get_tape_partition_failures_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_list_response **response)
ds3_str * storage_domain_id
void ds3_s3_object_response_free(ds3_s3_object_response *response)
void ds3_storage_domain_member_response_free(ds3_storage_domain_member_response *response)
ds3_error * ds3_put_job_completed_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_completed_notification_registration_response **response)
ds3_error_response * error
void ds3_request_set_pool_partition_id(const ds3_request *request, const char *value)
ds3_complete_multipart_upload_response * mpu_list
ds3_user_response * owner
static ds3_error * _parse_ds3_tape_library_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_library_response **_response)
size_t num_deleted_objects
ds3_error * ds3_abort_multi_part_upload_request(const ds3_client *client, const ds3_request *request)
void ds3_string_multimap_free(ds3_string_multimap *map)
ds3_import_export_configuration import_export_configuration
ds3_http_response_format_type format
ds3_str * notification_generation_date
void ds3_job_created_notification_registration_response_free(ds3_job_created_notification_registration_response *response)
uint64_t cached_size_in_bytes
void ds3_request_set_write_preference_ds3_write_preference_level(const ds3_request *request, const ds3_write_preference_level value)
void ds3_request_set_default_verify_job_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
void(* log_callback)(const char *log_message, void *user_data)
ds3_error * ds3_get_tape_failure_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_notification_registration_list_response **response)
ds3_error * ds3_put_data_policy_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_response **response)
ds3_str * last_notification
static ds3_error * _parse_ds3_bucket_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_bucket_response **_response)
ds3_tape_drive_response ** tape_drives
ds3_error * ds3_get_tape_partition_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_notification_registration_response **response)
static ds3_str * xml_get_string_from_attribute(xmlDocPtr doc, struct _xmlAttr *attribute)
static const char UNSIGNED_LONG_BASE_10[]
ds3_request * ds3_init_get_blobs_on_tape_spectra_s3_request(const char *resource_id)
void ds3_bucket_details_response_free(ds3_bucket_details_response *response)
ds3_request_type notification_http_method
void ds3_request_set_latest(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_modify_node_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_data_policy_acl_list_response(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_list_response **_response, GByteArray *xml_blob)
ds3_active_job_response ** active_jobs
void ds3_blob_store_task_information_response_free(ds3_blob_store_task_information_response *response)
ds3_tape_failure_response ** failures
ds3_request * ds3_init_inspect_all_tapes_spectra_s3_request(void)
ds3_http_response_format_type format
ds3_request * ds3_init_get_tapes_with_full_details_spectra_s3_request(void)
ds3_request * ds3_init_put_object_request(const char *bucket_name, const char *object_name, const uint64_t length)
static char * _get_ds3_tape_failure_type_str(ds3_tape_failure_type input)
ds3_request * ds3_init_delete_storage_domain_failure_notification_registration_spectra_s3_request(void)
ds3_request * ds3_init_modify_all_tape_partitions_spectra_s3_request(const ds3_quiesced quiesced)
static ds3_error * _parse_top_level_ds3_data_persistence_rule_response(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_response **_response, GByteArray *xml_blob)
ds3_error * ds3_put_pool_storage_domain_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_response **response)
ds3_error * ds3_format_foreign_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
static ds3_data_persistence_rule_type _match_ds3_data_persistence_rule_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_get_canceled_jobs_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_canceled_job_list_response **response)
ds3_bool assigned_to_storage_domain
static ds3_error * _parse_top_level_ds3_tape_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_list_response **_response, GByteArray *xml_blob)
void ds3_multi_part_upload_part_response_free(ds3_multi_part_upload_part_response *response)
ds3_request * ds3_init_get_pool_partitions_spectra_s3_request(void)
ds3_request * ds3_init_get_bucket_acl_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_put_job_completed_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_tape_type * tape_types
static ds3_error * _parse_ds3_cache_filesystem_information_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_cache_filesystem_information_response **_response)
ds3_s3_object_cached_notification_registration_response ** s3_object_cached_notification_registrations
void ds3_list_parts_result_response_free(ds3_list_parts_result_response *response)
ds3_str * auto_eject_upon_cron
static ds3_error * _parse_ds3_storage_domain_failure_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_priority rebuild_priority
ds3_cache_filesystem_response ** cache_filesystems
ds3_request * ds3_init_get_storage_domains_spectra_s3_request(void)
ds3_error * ds3_initiate_multi_part_upload_request(const ds3_client *client, const ds3_request *request, ds3_initiate_multipart_upload_result_response **response)
ds3_request * ds3_init_get_blobs_on_pool_spectra_s3_request(const char *resource_id)
uint64_t last_preferred_chunk_size_in_bytes
ds3_s3_object_persisted_notification_registration_response ** s3_object_persisted_notification_registrations
ds3_request * ds3_init_cancel_import_on_all_tapes_spectra_s3_request(void)
void ds3_group_member_list_response_free(ds3_group_member_list_response *response)
size_t num_storage_domain_failures
ds3_error * ds3_modify_all_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static ds3_error * _parse_top_level_ds3_tape_partition_failure_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_notification_registration_response **_response, GByteArray *xml_blob)
ds3_error * ds3_get_job_chunk_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_objects_response **response)
ds3_error * ds3_cancel_online_on_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
void ds3_request_set_previous_state_ds3_tape_state(const ds3_request *request, const ds3_tape_state value)
void ds3_request_set_notification_http_method_ds3_request_type(const ds3_request *request, const ds3_request_type value)
ds3_error * ds3_get_physical_placement_for_objects_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_physical_placement_response **response)
void ds3_request_set_format_ds3_http_response_format_type(const ds3_request *request, const ds3_http_response_format_type value)
ds3_request * ds3_init_cancel_import_on_all_pools_spectra_s3_request(void)
ds3_error * ds3_get_bulk_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
ds3_request_type notification_http_method
ds3_str ** common_prefixes
size_t num_cache_filesystems
static ds3_tape_failure_type _match_ds3_tape_failure_type(const ds3_log *log, const xmlChar *text)
static ds3_error * _parse_top_level_ds3_detailed_tape_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_detailed_tape_failure_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_put_tape_density_directive_spectra_s3_request(const ds3_tape_drive_type density, const char *partition_id, const ds3_tape_type tape_type)
void ds3_bucket_list_response_free(ds3_bucket_list_response *response)
ds3_tape_state previous_state
void ds3_request_set_delimiter(const ds3_request *request, const char *value)
void ds3_request_set_folder(const ds3_request *request, const char *value)
void ds3_request_set_max_upload_size(const ds3_request *request, const uint64_t value)
int number_of_failures_since_last_success
ds3_canceled_job_response ** canceled_jobs
ds3_data_isolation_level isolation_level
ds3_str * last_checkpoint
ds3_request * ds3_init_put_storage_domain_spectra_s3_request(const char *name)
ds3_metadata_keys_result * ds3_metadata_keys(const ds3_metadata *_metadata)
ds3_data_policy_response ** data_policies
void ds3_cache_information_response_free(ds3_cache_information_response *response)
ds3_group_member_response ** group_members
void ds3_spectra_user_list_response_free(ds3_spectra_user_list_response *response)
uint64_t cached_size_in_bytes
ds3_error * ds3_modify_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_response **response)
ds3_bulk_object_response ** objects
void ds3_request_set_verify_prior_to_auto_eject_ds3_priority(const ds3_request *request, const ds3_priority value)
ds3_request * ds3_init_put_storage_domain_failure_notification_registration_spectra_s3_request(const char *notification_end_point)
void ds3_pool_response_free(ds3_pool_response *response)
void ds3_group_member_response_free(ds3_group_member_response *response)
static ds3_error * _parse_ds3_pool_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_pool_failure_response **_response)
static char * _get_ds3_pool_health_str(ds3_pool_health input)
size_t num_common_prefixes
void ds3_request_set_sha256(ds3_request *_request, const char *sha256)
ds3_request * ds3_init_delete_job_created_notification_registration_spectra_s3_request(void)
ds3_request * ds3_init_initiate_multi_part_upload_request(const char *bucket_name, const char *object_name)
ds3_error * ds3_get_job_completed_notification_registrations_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_job_completed_notification_registration_list_response **response)
ds3_error * ds3_cancel_job_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static ds3_error * _parse_top_level_ds3_pool_failure_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_pool_failure_notification_registration_response **_response, GByteArray *xml_blob)
static char * _get_ds3_write_optimization_str(ds3_write_optimization input)
ds3_request * ds3_init_get_physical_placement_for_objects_spectra_s3_request(const char *resource_id, const ds3_bulk_object_list_response *object_list)
ds3_tape_failure_type type
static ds3_error * _parse_ds3_tape_failure_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
uint64_t available_capacity
static ds3_naming_convention_type _match_ds3_naming_convention_type(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_delete_object_cached_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_job_spectra_s3_request(const char *resource_id)
void ds3_bucket_acl_list_response_free(ds3_bucket_acl_list_response *response)
static ds3_auto_inspect_mode _match_ds3_auto_inspect_mode(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_get_job_chunks_ready_for_client_processing_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
void ds3_tape_failure_notification_registration_response_free(ds3_tape_failure_notification_registration_response *response)
void ds3_request_set_max_tape_fragmentation_percent(const ds3_request *request, const int value)
static ds3_error * _parse_top_level_ds3_pool_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_pool_failure_list_response **_response, GByteArray *xml_blob)
void ds3_request_set_page_length(const ds3_request *request, const int value)
ds3_request * ds3_init_get_tape_libraries_spectra_s3_request(void)
ds3_error * ds3_put_bucket_acl_for_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **response)
ds3_request * ds3_init_put_pool_failure_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_error * ds3_put_user_group_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_member_response **response)
ds3_request * ds3_init_get_cache_state_spectra_s3_request(void)
ds3_error * ds3_get_storage_domain_members_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_list_response **response)
static ds3_error * _parse_ds3_completed_job_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_error * ds3_get_objects_with_full_details_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_detailed_s3_object_list_response **response)
ds3_error * ds3_verify_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
static ds3_write_preference_level _match_ds3_write_preference_level(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_delete_objects_request(const char *bucket_name, const ds3_delete_objects_response *objects_list)
ds3_request * ds3_init_delete_storage_domain_spectra_s3_request(const char *resource_id)
static char * _get_ds3_pool_type_str(ds3_pool_type input)
ds3_group_response ** groups
uint64_t completed_size_in_bytes
void ds3_request_set_permission_ds3_bucket_acl_permission(const ds3_request *request, const ds3_bucket_acl_permission value)
void ds3_pool_failure_list_response_free(ds3_pool_failure_list_response *response)
ds3_request * ds3_init_get_pool_partition_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_ds3_storage_domain_member_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_storage_domain_member_response **_response)
ds3_error * ds3_get_group_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_member_response **response)
static ds3_error * _parse_ds3_tape_partition_failure_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_partition_failure_notification_registration_response **_response)
ds3_str * description_for_identification
void ds3_data_policy_response_free(ds3_data_policy_response *response)
size_t num_data_policy_acls
ds3_ltfs_file_naming_mode
ds3_request * ds3_init_get_group_members_spectra_s3_request(void)
ds3_str * storage_domain_id
ds3_import_conflict_resolution_mode
static ds3_error * _parse_ds3_job_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_system_failure_notification_payload_response_free(ds3_system_failure_notification_payload_response *response)
ds3_storage_domain_member_state
ds3_checksum_type checksum_type
static ds3_error * _parse_top_level_ds3_s3_object_lost_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_lost_notification_registration_response **_response, GByteArray *xml_blob)
int number_of_failures_since_last_success
size_t ds3_read_from_file(void *buffer, size_t size, size_t nmemb, void *user_data)
ds3_storage_domain_failure_type
ds3_error * ds3_verify_bulk_job_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_master_object_list_response **response)
static uint16_t xml_get_uint16(xmlDocPtr doc, xmlNodePtr child_node)
static ds3_error * _parse_ds3_user_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_user_response **_response)
void ds3_request_set_marker(const ds3_request *request, const char *value)
static char * _get_ds3_unavailable_media_usage_policy_str(ds3_unavailable_media_usage_policy input)
static char * _get_ds3_import_export_configuration_str(ds3_import_export_configuration input)
ds3_error * ds3_format_all_foreign_pools_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_str * notification_generation_date
ds3_detailed_tape_failure_response ** detailed_tape_failures
uint64_t original_size_in_bytes
static ds3_error * _parse_top_level_ds3_data_persistence_rule_list_response(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_list_response **_response, GByteArray *xml_blob)
void ds3_detailed_s3_object_response_free(ds3_detailed_s3_object_response *response)
void ds3_request_set_prefix(const ds3_request *request, const char *value)
void ds3_tape_partition_failure_notification_payload_response_free(ds3_tape_partition_failure_notification_payload_response *response)
static ds3_error * _parse_ds3_detailed_s3_object_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_request_set_unavailable_pool_max_job_retry_in_mins(const ds3_request *request, const int value)
ds3_storage_domain_member_response ** storage_domain_members
ds3_request * ds3_init_online_tape_spectra_s3_request(const char *resource_id)
void ds3_error_free(ds3_error *error)
void ds3_request_set_chunk_client_processing_order_guarantee_ds3_job_chunk_client_processing_order_guarantee(const ds3_request *request, const ds3_job_chunk_client_processing_order_guarantee value)
static ds3_error * _init_request_payload(const ds3_request *_request, ds3_xml_send_buff *send_buff, const object_list_type operation_type)
ds3_job_created_notification_registration_response ** job_created_notification_registrations
void ds3_user_response_free(ds3_user_response *response)
size_t num_objects_not_persisted
void ds3_s3_object_to_delete_response_free(ds3_s3_object_to_delete_response *response)
static ds3_error * _parse_top_level_ds3_tape_failure_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_failure_notification_registration_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_eject_storage_domain_blobs_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_request_set_state_ds3_tape_partition_state(const ds3_request *request, const ds3_tape_partition_state value)
static ds3_error * _parse_ds3_group_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_bool auto_eject_upon_job_completion
ds3_error * ds3_verify_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_error * ds3_get_service_request(const ds3_client *client, const ds3_request *request, ds3_list_all_my_buckets_result_response **response)
uint64_t original_size_in_bytes
static ds3_error * _parse_ds3_group_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_group_response **_response)
void ds3_metadata_free(ds3_metadata *_metadata)
int last_http_response_code
void ds3_list_multi_part_uploads_result_response_free(ds3_list_multi_part_uploads_result_response *response)
ds3_error * ds3_get_degraded_data_persistence_rules_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_list_response **response)
ds3_error * ds3_put_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_response **response)
static ds3_priority _match_ds3_priority(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_eject_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_tape_drive_type * drive_types
ds3_naming_convention_type naming_convention
static ds3_data_persistence_rule_state _match_ds3_data_persistence_rule_state(const ds3_log *log, const xmlChar *text)
ds3_bulk_object_list_response * ds3_convert_file_list_with_basepath(const char **file_list, size_t num_files, const char *base_path)
ds3_request * ds3_init_cancel_import_tape_spectra_s3_request(const char *resource_id)
void ds3_request_set_auto_reclaim_terminate_threshold(const ds3_request *request, const float value)
ds3_error * ds3_modify_all_tape_partitions_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_get_storage_domain_capacity_summary_spectra_s3_request(const char *storage_domain_id)
ds3_error * ds3_get_object_lost_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_lost_notification_registration_response **response)
static ds3_error * _parse_ds3_delete_object_error_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_delete_object_error_response **_response)
static void _set_query_param_int(const ds3_request *_request, const char *key, int value)
ds3_error * ds3_import_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_error * ds3_online_tape_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_response **response)
void ds3_request_set_include_physical_placement(const ds3_request *request, ds3_bool value)
static ds3_error * _parse_ds3_job_created_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static ds3_unavailable_media_usage_policy _match_ds3_unavailable_media_usage_policy(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_get_node_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_format_all_tapes_spectra_s3_request(void)
ds3_str * notification_end_point
ds3_tape_drive_type drive_type
void ds3_client_proxy(ds3_client *client, const char *proxy)
void ds3_request_set_full_details(const ds3_request *request, ds3_bool value)
static ds3_error * _parse_ds3_storage_domain_failure_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_storage_domain_failure_response **_response)
ds3_error * net_process_request(const ds3_client *client, const ds3_request *_request, void *read_user_struct, size_t(*read_handler_func)(void *, size_t, size_t, void *), void *write_user_struct, size_t(*write_handler_func)(void *, size_t, size_t, void *), ds3_string_multimap **return_headers)
ds3_error * ds3_get_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_spectra_user_response **response)
static ds3_error * _parse_ds3_tape_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_response **_response)
ds3_bucket_details_response ** buckets
ds3_request * ds3_init_get_job_chunk_spectra_s3_request(const char *resource_id)
void ds3_s3_object_lost_notification_registration_response_free(ds3_s3_object_lost_notification_registration_response *response)
ds3_error * ds3_cancel_import_on_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_str * last_notification
ds3_error * ds3_get_group_members_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_member_list_response **response)
void ds3_request_set_member_group_id(const ds3_request *request, const char *value)
ds3_error * ds3_delete_tape_drive_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_delete_object_persisted_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_delete_object_request(const ds3_client *client, const ds3_request *request)
static ds3_error * _parse_ds3_job_completed_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_get_tape_drives_spectra_s3_request(void)
static ds3_error * _parse_top_level_ds3_tape_density_directive_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_density_directive_list_response **_response, GByteArray *xml_blob)
ds3_str * storage_domain_id
static ds3_error * _parse_ds3_data_policy_acl_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_data_policy_acl_response **_response)
ds3_error * ds3_put_tape_density_directive_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_density_directive_response **response)
static ds3_error * _parse_top_level_ds3_bucket_response(const ds3_client *client, const ds3_request *request, ds3_bucket_response **_response, GByteArray *xml_blob)
void ds3_request_set_default_get_job_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
uint64_t ms_required_to_verify_data_planner_health
void ds3_request_set_rebuild_priority_ds3_priority(const ds3_request *request, const ds3_priority value)
size_t num_storage_domain_failure_notification_registrations
static ds3_error * _parse_ds3_pool_failure_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_str * notification_generation_date
static ds3_cache_entry_state _match_ds3_cache_entry_state(const ds3_log *log, const xmlChar *text)
ds3_error * ds3_put_bucket_acl_for_user_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_acl_response **response)
int auto_activate_timeout_in_mins
void ds3_storage_domain_failure_list_response_free(ds3_storage_domain_failure_list_response *response)
ds3_error * ds3_head_bucket_request(const ds3_client *client, const ds3_request *request)
ds3_job_chunk_client_processing_order_guarantee chunk_client_processing_order_guarantee
ds3_request * ds3_init_delete_folder_recursively_spectra_s3_request(const char *resource_id, const char *bucket_id)
void ds3_master_object_list_response_free(ds3_master_object_list_response *response)
static ds3_error * _parse_top_level_ds3_named_detailed_tape_list_response(const ds3_client *client, const ds3_request *request, ds3_named_detailed_tape_list_response **_response, GByteArray *xml_blob)
void ds3_request_set_write_optimization_ds3_write_optimization(const ds3_request *request, const ds3_write_optimization value)
ds3_request * ds3_init_delete_tape_partition_spectra_s3_request(const char *resource_id)
ds3_error * ds3_modify_pool_partition_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_partition_response **response)
static ds3_error * _parse_ds3_canceled_job_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_canceled_job_response **_response)
float auto_reclaim_initiate_threshold
static ds3_error * _parse_ds3_spectra_user_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
static char * _get_ds3_checksum_type_str(ds3_checksum_type input)
int number_of_failures_since_last_success
ds3_system_failure_type type
ds3_bulk_object_response ** objects
void ds3_system_failure_response_free(ds3_system_failure_response *response)
ds3_request * ds3_init_delete_bucket_spectra_s3_request(const char *resource_id)
ds3_bulk_object_response ** objects
ds3_request * ds3_init_modify_data_path_backend_spectra_s3_request(void)
ds3_request_type notification_http_method
ds3_error * ds3_delete_data_persistence_rule_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_http_response_format_type format
void ds3_tape_partition_failure_response_free(ds3_tape_partition_failure_response *response)
ds3_error * ds3_get_bucket_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_response **response)
ds3_str * notification_generation_date
void ds3_request_set_auto_eject_upon_job_cancellation(const ds3_request *request, ds3_bool value)
void ds3_tape_partition_failure_notification_registration_list_response_free(ds3_tape_partition_failure_notification_registration_list_response *response)
ds3_str * next_key_marker
static ds3_pool_health _match_ds3_pool_health(const ds3_log *log, const xmlChar *text)
static ds3_error * _parse_ds3_s3_object_to_delete_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_s3_object_to_delete_response **_response)
void ds3_job_list_response_free(ds3_job_list_response *response)
void ds3_request_set_type_ds3_data_persistence_rule_type(const ds3_request *request, const ds3_data_persistence_rule_type value)
size_t num_pool_partitions
static ds3_error * _parse_top_level_ds3_canceled_job_list_response(const ds3_client *client, const ds3_request *request, ds3_canceled_job_list_response **_response, GByteArray *xml_blob)
static char * _get_ds3_storage_domain_failure_type_str(ds3_storage_domain_failure_type input)
static char * _get_ds3_quiesced_str(ds3_quiesced input)
void ds3_pool_partition_list_response_free(ds3_pool_partition_list_response *response)
void ds3_data_persistence_rule_list_response_free(ds3_data_persistence_rule_list_response *response)
ds3_request * ds3_init_get_storage_domain_failures_spectra_s3_request(void)
ds3_contents_response ** objects
ds3_request * ds3_init_get_storage_domain_member_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_s3_object_cached_notification_registration_response(const ds3_client *client, const ds3_request *request, ds3_s3_object_cached_notification_registration_response **_response, GByteArray *xml_blob)
void ds3_spectra_user_response_free(ds3_spectra_user_response *response)
int number_of_failures_since_last_success
static ds3_error * _parse_ds3_blob_store_task_information_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_blob_store_task_information_response **_response)
void ds3_string_multimap_entry_free(ds3_string_multimap_entry *entry)
static ds3_bucket_acl_permission _match_ds3_bucket_acl_permission(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_import_all_tapes_spectra_s3_request(void)
ds3_tape_partition_failure_type
void ds3_initiate_multipart_upload_result_response_free(ds3_initiate_multipart_upload_result_response *response)
void ds3_request_set_max_parts(const ds3_request *request, const int value)
ds3_error * ds3_compact_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_pool_response **response)
ds3_s3_object_response ** s3_objects
ds3_error * ds3_get_system_information_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_system_information_response **response)
ds3_error * ds3_delete_tape_partition_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static ds3_tape_state _match_ds3_tape_state(const ds3_log *log, const xmlChar *text)
float auto_reclaim_terminate_threshold
ds3_request * ds3_init_get_tape_with_full_details_spectra_s3_request(const char *resource_id)
ds3_error * ds3_put_global_data_policy_acl_for_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_response **response)
void ds3_data_policy_list_response_free(ds3_data_policy_list_response *response)
ds3_error * ds3_get_tape_drive_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_drive_response **response)
ds3_str * ds3_str_init(const char *string)
ds3_request * ds3_init_delete_job_completed_notification_registration_spectra_s3_request(void)
ds3_bulk_object_list_response * ds3_convert_file_list(const char **file_list, size_t num_files)
void ds3_delete_result_response_free(ds3_delete_result_response *response)
ds3_request * ds3_init_put_object_lost_notification_registration_spectra_s3_request(const char *notification_end_point)
ds3_request * ds3_init_put_group_group_member_spectra_s3_request(const char *group_id, const char *member_group_id)
ds3_bool take_ownership_pending
ds3_naming_convention_type naming_convention
ds3_error * ds3_put_bucket_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_delete_storage_domain_member_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_canceled_job_list_response_free(ds3_canceled_job_list_response *response)
ds3_str * member_group_id
ds3_error * ds3_get_system_capacity_summary_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_capacity_summary_container_response **response)
static ds3_job_request_type _match_ds3_job_request_type(const ds3_log *log, const xmlChar *text)
void ds3_request_set_eject_location(const ds3_request *request, const char *value)
ds3_error * ds3_get_object_request(const ds3_client *client, const ds3_request *request, void *user_data, size_t(*callback)(void *, size_t, size_t, void *))
void ds3_system_failure_notification_registration_response_free(ds3_system_failure_notification_registration_response *response)
static ds3_error * _parse_ds3_named_detailed_tape_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_named_detailed_tape_response **_response)
ds3_error * ds3_get_system_failures_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_system_failure_list_response **response)
static ds3_str * _build_path(const char *path_prefix, const char *bucket_name, const char *object_name)
ds3_tape_drive_type density
int last_http_response_code
ds3_storage_domain_member_state state
void ds3_canceled_job_response_free(ds3_canceled_job_response *response)
ds3_tape_failure_notification_registration_response ** tape_failure_notification_registrations
ds3_error * ds3_put_tape_partition_failure_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_notification_registration_response **response)
static ds3_error * _parse_ds3_s3_object_lost_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
ds3_request * ds3_init_modify_data_persistence_rule_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_data_path_backend_response(const ds3_client *client, const ds3_request *request, ds3_data_path_backend_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_head_object_request(const char *bucket_name, const char *object_name)
static ds3_error * _parse_ds3_data_policy_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_data_policy_response **_response)
ds3_error * ds3_get_data_persistence_rule_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_response **response)
ds3_error * ds3_modify_bucket_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_bucket_response **response)
ds3_error * ds3_delete_objects_request(const ds3_client *client, const ds3_request *request, ds3_delete_result_response **response)
static ds3_error * _parse_ds3_s3_object_cached_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_s3_object_cached_notification_registration_response **_response)
uint64_t available_raw_capacity
static ds3_error * _parse_ds3_s3_object_persisted_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_type_response_free(ds3_type_response *response)
void ds3_request_set_state_ds3_tape_drive_state(const ds3_request *request, const ds3_tape_drive_state value)
ds3_str * ds3_string_multimap_entry_get_value_by_index(const ds3_string_multimap_entry *entry, int index)
ds3_error * ds3_delete_data_policy_acl_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_str * storage_domain_id
static ds3_error * _parse_top_level_ds3_active_job_list_response(const ds3_client *client, const ds3_request *request, ds3_active_job_list_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_get_tape_partition_failure_notification_registration_spectra_s3_request(void)
ds3_tape_drive_type * drive_types
ds3_error * ds3_put_data_persistence_rule_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_persistence_rule_response **response)
ds3_error * ds3_delete_permanently_lost_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_str * last_notification
ds3_error * ds3_get_data_policy_acls_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_data_policy_acl_list_response **response)
ds3_data_persistence_rule_state state
void ds3_complete_multipart_upload_response_free(ds3_complete_multipart_upload_response *response)
ds3_error * ds3_put_object_persisted_notification_registration_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_s3_object_persisted_notification_registration_response **response)
static ds3_error * _parse_ds3_system_failure_notification_registration_response_array(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, GPtrArray **_response)
void ds3_named_detailed_tape_partition_response_free(ds3_named_detailed_tape_partition_response *response)
ds3_creds * ds3_create_creds(const char *access_id, const char *secret_key)
ds3_str * ds3_string_multimap_entry_get_key(const ds3_string_multimap_entry *entry)
static ds3_error * _parse_ds3_storage_domain_failure_notification_registration_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_storage_domain_failure_notification_registration_response **_response)
ds3_request * ds3_init_get_tape_density_directive_spectra_s3_request(const char *resource_id)
ds3_job_chunk_client_processing_order_guarantee chunk_client_processing_order_guarantee
void ds3_completed_job_list_response_free(ds3_completed_job_list_response *response)
static ds3_error * _parse_top_level_ds3_objects_response(const ds3_client *client, const ds3_request *request, ds3_objects_response **_response, GByteArray *xml_blob)
ds3_request * ds3_init_get_data_persistence_rules_spectra_s3_request(void)
static ds3_error * _parse_top_level_ds3_pool_failure_notification_registration_list_response(const ds3_client *client, const ds3_request *request, ds3_pool_failure_notification_registration_list_response **_response, GByteArray *xml_blob)
size_t num_pool_failure_notification_registrations
void ds3_tape_density_directive_list_response_free(ds3_tape_density_directive_list_response *response)
ds3_request * ds3_init_get_data_path_backend_spectra_s3_request(void)
static ds3_error * _parse_ds3_bulk_object_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_bulk_object_response **_response)
void ds3_request_set_type_ds3_storage_domain_failure_type(const ds3_request *request, const ds3_storage_domain_failure_type value)
ds3_unavailable_media_usage_policy
ds3_request * ds3_init_get_objects_spectra_s3_request(void)
void ds3_request_set_type_ds3_tape_failure_type(const ds3_request *request, const ds3_tape_failure_type value)
ds3_error * ds3_deallocate_pool_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_error * ds3_modify_storage_domain_member_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_member_response **response)
void ds3_request_set_bar_code(const ds3_request *request, const char *value)
ds3_user_response * owner
void ds3_generic_dao_notification_registration_response_free(ds3_generic_dao_notification_registration_response *response)
size_t num_tape_partition_failure_notification_registrations
uint64_t total_raw_capacity
ds3_error * ds3_get_group_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_group_response **response)
void ds3_job_created_notification_registration_list_response_free(ds3_job_created_notification_registration_list_response *response)
void ds3_metadata_entry_free(ds3_metadata_entry *entry)
void ds3_client_register_net(ds3_client *client, ds3_error *(*net_callback)(const ds3_client *client, const ds3_request *_request, void *read_user_struct, size_t(*read_handler_func)(void *, size_t, size_t, void *), void *write_user_struct, size_t(*write_handler_func)(void *, size_t, size_t, void *), ds3_string_multimap **return_headers))
static char * _get_ds3_priority_str(ds3_priority input)
static ds3_error * _parse_top_level_ds3_tape_partition_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_partition_failure_list_response **_response, GByteArray *xml_blob)
ds3_error * ds3_cancel_eject_on_all_tapes_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
void ds3_tape_drive_response_free(ds3_tape_drive_response *response)
uint64_t total_raw_capacity
void ds3_physical_placement_response_free(ds3_physical_placement_response *response)
ds3_detailed_tape_failure_response * most_recent_failure
size_t num_common_prefixes
ds3_request * ds3_init_put_global_data_policy_acl_for_user_spectra_s3_request(const char *user_id)
ds3_http_response_format_type format
void ds3_system_information_response_free(ds3_system_information_response *response)
ds3_str * notification_end_point
static ds3_error * _parse_ds3_tape_partition_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_tape_partition_response **_response)
ds3_request * ds3_init_list_multi_part_uploads_request(const char *bucket_name)
void ds3_detailed_tape_failure_list_response_free(ds3_detailed_tape_failure_list_response *response)
void ds3_request_set_truncated(const ds3_request *request, ds3_bool value)
ds3_request * ds3_init_put_tape_storage_domain_member_spectra_s3_request(const char *storage_domain_id, const char *tape_partition_id, const ds3_tape_type tape_type)
void ds3_request_set_state_ds3_pool_state(const ds3_request *request, const ds3_pool_state value)
ds3_tape_response ** tapes
ds3_error * ds3_delete_data_policy_spectra_s3_request(const ds3_client *client, const ds3_request *request)
void ds3_tape_partition_response_free(ds3_tape_partition_response *response)
static ds3_sql_operation _match_ds3_sql_operation(const ds3_log *log, const xmlChar *text)
ds3_request * ds3_init_put_object_cached_notification_registration_spectra_s3_request(const char *notification_end_point)
int next_part_number_marker
static ds3_error * _parse_top_level_ds3_tape_failure_list_response(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **_response, GByteArray *xml_blob)
ds3_priority default_verify_job_priority
ds3_error * ds3_regenerate_user_secret_key_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_spectra_user_response **response)
ds3_request * ds3_init_delete_tape_failure_spectra_s3_request(const char *resource_id)
ds3_error * ds3_get_tape_drives_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_drive_list_response **response)
ds3_request * ds3_init_modify_tape_partition_spectra_s3_request(const char *resource_id)
ds3_str * notification_end_point
ds3_request * ds3_init_verify_user_is_member_of_group_spectra_s3_request(const char *resource_id)
int last_http_response_code
ds3_error * ds3_list_multi_part_uploads_request(const ds3_client *client, const ds3_request *request, ds3_list_multi_part_uploads_result_response **response)
ds3_job_node_response ** nodes
ds3_request_type notification_http_method
ds3_job_chunk_client_processing_order_guarantee chunk_client_processing_order_guarantee
void ds3_tape_library_list_response_free(ds3_tape_library_list_response *response)
ds3_request * ds3_init_eject_tape_spectra_s3_request(const char *resource_id)
ds3_request * ds3_init_get_tape_failure_notification_registrations_spectra_s3_request(void)
ds3_str * description_for_identification
ds3_error * ds3_delete_bucket_spectra_s3_request(const ds3_client *client, const ds3_request *request)
static ds3_error * _parse_ds3_spectra_user_response(const ds3_client *client, const xmlDocPtr doc, const xmlNodePtr root, ds3_spectra_user_response **_response)
ds3_error * ds3_delete_tape_partition_failure_spectra_s3_request(const ds3_client *client, const ds3_request *request)
ds3_request * ds3_init_cancel_job_spectra_s3_request(const char *resource_id)
static ds3_error * _parse_top_level_ds3_initiate_multipart_upload_result_response(const ds3_client *client, const ds3_request *request, ds3_initiate_multipart_upload_result_response **_response, GByteArray *xml_blob)
static ds3_error * _get_request_xml_nodes(GByteArray *xml_blob, xmlDocPtr *_doc, xmlNodePtr *_root, char *root_element_name)
ds3_tape_response ** tapes
void ds3_request_set_auto_eject_upon_cron(const ds3_request *request, const char *value)
ds3_error * ds3_eject_storage_domain_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_tape_failure_list_response **response)
ds3_request * ds3_init_verify_tape_spectra_s3_request(const char *resource_id)
ds3_str * notification_end_point
ds3_error * ds3_get_storage_domain_failures_spectra_s3_request(const ds3_client *client, const ds3_request *request, ds3_storage_domain_failure_list_response **response)
uint64_t cached_size_in_bytes