This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/src/hos_client.h

16 lines
665 B
C
Raw Normal View History

2020-09-11 16:13:02 +08:00
/*************************************************************************
> File Name: hos_client_api.h
> Author: pxz
> Created Time: Thu 10 Sep 2020 03:13:59 PM CST
************************************************************************/
#ifndef __HOS_CLIENT_INIT__
#define __HOS_CLIENT_INIT__
typedef void* hos_client_handle;
hos_client_handle hos_client_init(const char *endpoint, const char *accesskeyid, const char *secretkey);
bool hos_create_bucket(hos_client_handle handle, const char *bucket);
bool hos_upload_async(hos_client_handle handle, const char *bucket, const char *object);
void hos_client_close(hos_client_handle handle);
#endif