修改FETCH API函数名为tango_cache_fetch_object;增加DELETE API;调整ctx结构体内部结构;
This commit is contained in:
7
cache/tango_cache_transfer.h
vendored
7
cache/tango_cache_transfer.h
vendored
@@ -6,10 +6,11 @@
|
||||
|
||||
#include "tango_cache_client_in.h"
|
||||
|
||||
void tango_cache_curl_put_done(CURL *easy, struct tango_cache_ctx *ctx, CURLcode res, long res_code);
|
||||
void tango_cache_curl_get_done(CURL *easy, struct tango_cache_ctx *ctx, CURLcode res, long res_code);
|
||||
void tango_cache_curl_put_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
|
||||
void tango_cache_curl_get_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
|
||||
void tango_cache_curl_del_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
|
||||
|
||||
bool cache_delete_minio_object(struct tango_cache_ctx *ctx);
|
||||
int cache_delete_minio_object(struct tango_cache_ctx *ctx);
|
||||
int cache_kick_upload_minio_end(struct tango_cache_ctx *ctx);
|
||||
bool cache_kick_upload_minio_multipart(struct tango_cache_ctx *ctx, size_t block_len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user