1234567891011121314 |
- #pragma once
- #ifdef QCLOUD_EXPORT
- #define QCLOUD_API __declspec(dllexport)
- #else
- #define QCLOUD_API __declspec(dllimport)
- #endif
- QCLOUD_API void Qcloud_Init(unsigned long long appid, char* access_key, char* secret_key, char* region, char* bucket_name);
- QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path);
- QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path,char url[]);
- QCLOUD_API bool Qcloud_GetToFile(char* object_name, char* file_path);
- QCLOUD_API bool Qcloud_PutFromBuf(char* buf, int len, char* object_name);
- QCLOUD_API bool Qcloud_PutFromFile(char* object_name, char* file_path, char url[], char ret[]);
- QCLOUD_API bool Qcloud_PutFromFile(unsigned long long appid, char* access_key, char* secret_key, char* region, char* bucket_name,
- char* object_name, char* file_path, char url[], char ret[]);
|