qcloud.h 936 B

123456789101112131415
  1. #pragma once
  2. #ifdef QCLOUD_EXPORT
  3. #define QCLOUD_API __declspec(dllexport)
  4. #else
  5. #define QCLOUD_API __declspec(dllimport)
  6. #endif
  7. QCLOUD_API void Qcloud_Init(unsigned long long appid, char* access_key, char* secret_key, char* region, char* bucket_name);
  8. QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path);
  9. QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path,char url[]);
  10. QCLOUD_API bool Qcloud_GetToFile(char* object_name, char* file_path);
  11. QCLOUD_API bool Qcloud_PutFromBuf(char* buf, int len, char* object_name);
  12. QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path, char url[], char ret[]);
  13. QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path, char url[], char ret[]);
  14. QCLOUD_API bool Qcloud_PutFromFile(unsigned long long appid, char* access_key, char* secret_key, char* region, char* bucket_name,
  15. char* object_name, char* file_path, char url[], char ret[]);