From a607b1d54c3cce8c458e00efc71ad7e9436d7cea Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 3 Feb 2008 05:31:39 +0000 Subject: [PATCH] --- ase/utl/http.c | 4 ++-- ase/utl/http.h | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ase/utl/http.c b/ase/utl/http.c index 449e42ef..aeaae93e 100644 --- a/ase/utl/http.c +++ b/ase/utl/http.c @@ -48,7 +48,7 @@ static int digit_to_num (ase_char_t c) 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; @@ -139,7 +139,7 @@ ok: 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; diff --git a/ase/utl/http.h b/ase/utl/http.h index 84564768..1f8de1ae 100644 --- a/ase/utl/http.h +++ b/ase/utl/http.h @@ -50,4 +50,15 @@ struct ase_http_hdr_t } 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