Skip to content

Commit f86258d

Browse files
authored
Merge pull request #75 from aliyun/dev-1906
Dev 1906
2 parents 084fa7d + 1d195e8 commit f86258d

20 files changed

+2758
-1180
lines changed

oss_c_sdk/oss_api.h

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,23 @@ aos_status_t *oss_put_symlink(const oss_request_options_t *options,
600600
const aos_string_t *target_object,
601601
aos_table_t **resp_headers);
602602

603+
/*
604+
* @brief put symlink oss object
605+
* @param[in] options the oss request options
606+
* @param[in] bucket the oss bucket name
607+
* @param[in] sym_object the oss symlink object name
608+
* @param[in] target_object the oss target object game
609+
* @param[in] headers the headers for request
610+
* @param[out] resp_headers oss server response headers containing object meta
611+
* @return aos_status_t, code is 2xx success, other failure
612+
*/
613+
aos_status_t *oss_do_put_symlink(const oss_request_options_t *options,
614+
const aos_string_t *bucket,
615+
const aos_string_t *sym_object,
616+
const aos_string_t *target_object,
617+
aos_table_t *headers,
618+
aos_table_t **resp_headers);
619+
603620
/*
604621
* @brief get symlink oss object
605622
* @param[in] options the oss request options
@@ -1392,6 +1409,50 @@ aos_status_t *oss_create_select_object_meta(const oss_request_options_t *options
13921409
oss_select_object_meta_params_t *meta_params,
13931410
aos_table_t **resp_headers);
13941411

1412+
/*
1413+
* @brief put oss object tagging
1414+
* @param[in] options the oss request options
1415+
* @param[in] bucket the oss bucket name
1416+
* @param[in] object the oss object name
1417+
* @param[out] tag_list the oss object tag list
1418+
* @param[out] resp_headers oss server response headers
1419+
* @return aos_status_t, code is 2xx success, other failure
1420+
*/
1421+
aos_status_t *oss_put_object_tagging(const oss_request_options_t *options,
1422+
const aos_string_t *bucket,
1423+
const aos_string_t *object,
1424+
aos_list_t *tag_list,
1425+
aos_table_t **resp_headers);
1426+
1427+
/*
1428+
* @brief get oss object tagging
1429+
* @param[in] options the oss request options
1430+
* @param[in] bucket the oss bucket name
1431+
* @param[in] object the oss object name
1432+
* @param[out] tag_list the oss object tag list
1433+
* @param[out] resp_headers oss server response headers
1434+
* @return aos_status_t, code is 2xx success, other failure
1435+
*/
1436+
aos_status_t *oss_get_object_tagging(const oss_request_options_t *options,
1437+
const aos_string_t *bucket,
1438+
const aos_string_t *object,
1439+
aos_list_t *tag_list,
1440+
aos_table_t **resp_headers);
1441+
1442+
/*
1443+
* @brief delete oss object tagging
1444+
* @param[in] options the oss request options
1445+
* @param[in] bucket the oss bucket name
1446+
* @param[in] object the oss object name
1447+
* @param[out] resp_headers oss server response headers
1448+
* @return aos_status_t, code is 2xx success, other failure
1449+
*/
1450+
aos_status_t *oss_delete_object_tagging(const oss_request_options_t *options,
1451+
const aos_string_t *bucket,
1452+
const aos_string_t *object,
1453+
aos_table_t **resp_headers);
1454+
1455+
13951456
OSS_CPP_END
13961457

13971458
#endif

0 commit comments

Comments
 (0)