diff options
| author | fengweihao <[email protected]> | 2023-12-29 14:39:03 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2023-12-29 14:39:03 +0800 |
| commit | ced991b4a0569f52fbae33aa8ce15c9d4ea6bda7 (patch) | |
| tree | f28257f66772f6dcdf130d82272054dddfe6dc59 /cache/src/tango_cache_tools.h | |
| parent | b011a9268042db22cc54ca8171640dbfb2ab617c (diff) | |
TSG-18286 Proxy支持虚拟表表名变更,删除代理本地缓存,删除tsg-http相关配置v4.8.56-20231229
Diffstat (limited to 'cache/src/tango_cache_tools.h')
| -rw-r--r-- | cache/src/tango_cache_tools.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cache/src/tango_cache_tools.h b/cache/src/tango_cache_tools.h deleted file mode 100644 index e0ab730..0000000 --- a/cache/src/tango_cache_tools.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef __TANGO_CACHE_TOOLS_H__ -#define __TANGO_CACHE_TOOLS_H__ - -#include <MESA/MESA_handle_logger.h> - -#define MESA_HANDLE_RUNTIME_LOGV2(handle, lv, fmt, args...) \ - MESA_handle_runtime_log((handle), (lv), "TANGO_CACHE", "%s:%d, " fmt, __FILE__, __LINE__, ##args) - -#ifdef CACHE_DEBUG_SWITCH -#define DBG_CACHE(fmt, args...) do{printf("%s():%d, " fmt, __FUNCTION__, __LINE__, ##args);}while(0) -#else -#define DBG_CACHE(msg...) -#endif - -int Base64_EncodeBlock(const unsigned char *in, int inl, unsigned char *out); -int Base64_DecodeBlock(const unsigned char *in, int inl, unsigned char *out, int outsize); - -int strcmp_one_word_mesa_equal_len(const char *s1_lowercase, const char *s1_uppercase, const char *s2, size_t len); -int mkdir_according_path(const char * path); - -time_t get_gmtime_timestamp(time_t seconds); -time_t expires_hdr2timestamp(const char *expires_val, int len); -size_t expires_timestamp2hdr_str(time_t seconds, char *buffer, size_t size); - -#endif - |
