创建
This commit is contained in:
20
cache/tango_cache_transfer.h
vendored
Normal file
20
cache/tango_cache_transfer.h
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __TANGO_CACHE_UPLOAD_H__
|
||||
#define __TANGO_CACHE_UPLOAD_H__
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
#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);
|
||||
|
||||
bool 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, struct buffer_cache_list *list);
|
||||
int tango_cache_upload_once_start(struct tango_cache_ctx *ctx, const char *data, size_t size);
|
||||
|
||||
int tango_cache_fetch_start(struct tango_cache_ctx *ctx);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user