Browse Source

Merge branch 'master' of http://gitz.zhixinhuixue.net:18880/huanggen/UCloudSDK

huanggen 11 months ago
parent
commit
fd6ba67f5b
2 changed files with 14 additions and 14 deletions
  1. 12 12
      UCloudSDK/api.cpp
  2. 2 2
      UCloudSDK/api.h

+ 12 - 12
UCloudSDK/api.cpp

@@ -1,4 +1,4 @@
-#include "api.h"
+锘�#include "api.h"
 #include "cos_api.h"
 #include "cos_sys_config.h"
 #include "cos_config.h"
@@ -67,7 +67,7 @@ ufile_error ufile_load_config_from_json(const char * json_buf, ufile_config * cf
 
 void ufile_free_config(ufile_config cfg)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 }
 
 ufile_error ufile_sdk_initialize(const ufile_config cfg, int open_verbose)
@@ -87,24 +87,24 @@ void ufile_sdk_cleanup()
 
 ufile_error ufile_head(const char * bucket_name, const char * key, ufile_file_info * info)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 void ufile_free_file_info(ufile_file_info info)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 }
 
 ufile_error ufile_put_buf(const char * bucket_name, const char * key, const char * mime_type, char * buffer, size_t buf_len)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 ufile_error ufile_put_file(const char * bucket_name, const char * key, const char * mime_type, FILE * file)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
@@ -143,25 +143,25 @@ ufile_error ufile_delete(const char * bucket_name, const char * key)
 
 ufile_error ufile_multiple_upload_init(ufile_mutipart_state * self, const char * bucket_name, const char * key, const char * mime_type)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 ufile_error ufile_multiple_upload_part(ufile_mutipart_state * self, char * buffer, size_t buf_len, int part_number)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 ufile_error ufile_multiple_upload_finish(ufile_mutipart_state * self)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 ufile_error ufile_multiple_upload_abort(ufile_mutipart_state * self)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
@@ -192,13 +192,13 @@ ufile_error ufile_download(const char * bucket_name, const char * key, FILE * fi
 
 ufile_error ufile_download_piece(const char * bucket_name, const char * key, size_t start_position, char * buf, size_t buf_len, size_t * return_size)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 
 ufile_error ufile_bucket_create(const char * bucket_name, const char * region, const char * bucket_type)
 {
-	//此函数无调用,暂且不实现
+	//姝ゅ嚱鏁版棤璋冪敤锛屾殏涓斾笉瀹炵幇
 	return ufile_error();
 }
 

+ 2 - 2
UCloudSDK/api.h

@@ -1,4 +1,4 @@
-#ifndef _H_UFILESDK_C_UCLOUD_API_
+#ifndef _H_UFILESDK_C_UCLOUD_API_
 #define _H_UFILESDK_C_UCLOUD_API_
 
 #include <stdio.h>
@@ -87,7 +87,7 @@ extern "C" {
 
 	enum {
 		company_ucloud, // ucloud 
-		company_tx, //ÌÚѶ
+		company_tx, //腾讯
 	};
 	__declspec(dllexport) void
 		set_upload_company(int company);