This commit is contained in:
hyung-hwan 2008-02-03 05:31:39 +00:00
parent 70fcb6a8c6
commit a607b1d54c
2 changed files with 13 additions and 2 deletions

View File

@ -48,7 +48,7 @@ static int digit_to_num (ase_char_t c)
return -1; return -1;
} }
static ase_char_t* ase_parsehttpreq (ase_char_t* buf, ase_http_req_t* req) ase_char_t* ase_parsehttpreq (ase_char_t* buf, ase_http_req_t* req)
{ {
ase_char_t* p = buf, * x; ase_char_t* p = buf, * x;
@ -139,7 +139,7 @@ ok:
return p; return p;
} }
static ase_char_t* ase_parsehttphdr (ase_char_t* buf, ase_http_hdr_t* hdr) ase_char_t* ase_parsehttphdr (ase_char_t* buf, ase_http_hdr_t* hdr)
{ {
ase_char_t* p = buf, * last; ase_char_t* p = buf, * last;

View File

@ -50,4 +50,15 @@ struct ase_http_hdr_t
} value; } value;
}; };
#ifdef __cplusplus
extern "C" {
#endif
ase_char_t* ase_parsehttpreq (ase_char_t* buf, ase_http_req_t* req);
ase_char_t* ase_parsehttphdr (ase_char_t* buf, ase_http_hdr_t* hdr);
#ifdef __cplusplus
}
#endif
#endif #endif