重构cache目录,将libxml2、libcurl放到vendor目录。

This commit is contained in:
zhengchao
2018-10-14 17:11:45 +08:00
parent cb27db40f2
commit 12d4370b3f
120 changed files with 508 additions and 29642 deletions

View File

@@ -4,8 +4,8 @@
#include <event2/event.h>
#include <event.h>
#include "tfe_future.h"
#include "proxy_cache.h"
#include <tfe_future.h>
#include "tango_cache_pending.h"
#define USER_TAG_MAX_LEN 1518
@@ -105,9 +105,9 @@ struct tango_cache_instance *tango_cache_instance_new(struct event_base* evbase,
//<2F>ɹ<EFBFBD>ʱ<EFBFBD>ص<EFBFBD>promise_success, resultΪNULLʱ<4C><CAB1>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//ʧ<><CAA7>ʱ<EFBFBD>ص<EFBFBD>promise_failed(<28><>һ<EFBFBD><D2BB>)<29><>ʹ<EFBFBD><CAB9>get_last_error<6F><72>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>
//future<72><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΪNULL
int tango_cache_fetch_object(struct tango_cache_instance *instance, struct future* future, struct tango_cache_meta *meta);
int tango_cache_fetch_object(struct tango_cache_instance *instance, struct future* f, struct tango_cache_meta *meta);
//<2F><>promise_success<73><73>result<6C><74><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
struct tango_cache_result *tango_cache_read_result(void *promise_result);
struct tango_cache_result *tango_cache_read_result(future_result_t *result);
/* DELETE<54>ӿڵ<D3BF>API*/