重构cache目录,将libxml2、libcurl放到vendor目录。
This commit is contained in:
@@ -303,7 +303,7 @@ static inline const char * tfe_http_field_read(const struct tfe_http_half * half
|
||||
{
|
||||
return half->ops->ops_http_field_read(half, name);
|
||||
}
|
||||
static inline const char * tfe_http_std_field_read(struct tfe_http_half * half, enum tfe_http_std_field field_id)
|
||||
static inline const char * tfe_http_std_field_read(const struct tfe_http_half * half, enum tfe_http_std_field field_id)
|
||||
{
|
||||
struct http_field_name tmp_name;
|
||||
tmp_name.field_id=field_id;
|
||||
@@ -316,6 +316,14 @@ static inline int tfe_http_field_write(struct tfe_http_half * half,
|
||||
{
|
||||
return half->ops->ops_http_field_write(half, name, value);
|
||||
}
|
||||
static inline int tfe_http_std_field_write(struct tfe_http_half * half,
|
||||
enum tfe_http_std_field field_id, const char * value)
|
||||
{
|
||||
struct http_field_name tmp_name;
|
||||
tmp_name.field_id=field_id;
|
||||
tmp_name.field_name=NULL;
|
||||
return tfe_http_field_write(half, &tmp_name, value);
|
||||
}
|
||||
|
||||
static inline struct tfe_http_half * tfe_http_allow_write(const struct tfe_http_half * half)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user