summaryrefslogtreecommitdiff
path: root/cache/src/tango_cache_transfer.h
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2023-12-29 14:39:03 +0800
committerfengweihao <[email protected]>2023-12-29 14:39:03 +0800
commitced991b4a0569f52fbae33aa8ce15c9d4ea6bda7 (patch)
treef28257f66772f6dcdf130d82272054dddfe6dc59 /cache/src/tango_cache_transfer.h
parentb011a9268042db22cc54ca8171640dbfb2ab617c (diff)
TSG-18286 Proxy支持虚拟表表名变更,删除代理本地缓存,删除tsg-http相关配置v4.8.56-20231229
Diffstat (limited to 'cache/src/tango_cache_transfer.h')
-rw-r--r--cache/src/tango_cache_transfer.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/cache/src/tango_cache_transfer.h b/cache/src/tango_cache_transfer.h
deleted file mode 100644
index ec17215..0000000
--- a/cache/src/tango_cache_transfer.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef __TANGO_CACHE_UPLOAD_H__
-#define __TANGO_CACHE_UPLOAD_H__
-
-#include <sys/queue.h>
-#include <curl/curl.h>
-
-#include "tango_cache_client_in.h"
-
-bool check_expires_fresh_header(struct tango_cache_ctx *ctx);
-bool fetch_header_over_biz(struct tango_cache_ctx *ctx);
-
-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);
-void tango_cache_curl_muldel_done(struct tango_cache_ctx *ctx, CURLcode res, long res_code);
-
-int cache_delete_minio_object(struct tango_cache_ctx *ctx, bool call_back=false);
-int do_tango_cache_multi_delete(struct tango_cache_ctx *ctx, bool callback=false);
-
-bool cache_cancel_upload_minio(struct tango_cache_ctx *ctx);
-bool cache_kick_upload_minio_multipart(struct tango_cache_ctx *ctx, size_t block_len);
-int do_tango_cache_update_end(struct tango_cache_ctx *ctx, bool callback);
-
-int do_tango_cache_upload_once_data(struct tango_cache_ctx *ctx, enum PUT_MEMORY_COPY_WAY way, const char *data, size_t size, bool call_back=false);
-int do_tango_cache_upload_once_evbuf(struct tango_cache_ctx *ctx, enum EVBUFFER_COPY_WAY way, struct evbuffer *evbuf, bool call_back=false);
-
-int do_tango_cache_head_object(struct tango_cache_ctx *ctx, enum OBJECT_LOCATION where_to_head);
-int do_tango_cache_fetch_object(struct tango_cache_ctx *ctx, enum OBJECT_LOCATION where_to_get);
-
-#endif
-