qcloud.h 469 B

12345678910
  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_GetToFile(char* object_name, char* file_path);
  10. QCLOUD_API bool Qcloud_PutFromBuf(char* buf, int len, char* object_name);