summaryrefslogtreecommitdiff
path: root/src/http_decoder_string.h
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-05-24 22:47:32 +0800
committerlijia <[email protected]>2024-05-26 19:45:15 +0800
commit50a9fea27ca30d532bf89bc8fd7e6025a240e9e4 (patch)
treee066e771c8a4abb3f1997ea3e0aebcb2d259f85e /src/http_decoder_string.h
parent22d071e23ff423242f51dce2eab1477b5fb9d106 (diff)
Adapt to stellar v2.0v2.0.1
Diffstat (limited to 'src/http_decoder_string.h')
-rw-r--r--src/http_decoder_string.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/http_decoder_string.h b/src/http_decoder_string.h
index f9d81dd..ef3a1cc 100644
--- a/src/http_decoder_string.h
+++ b/src/http_decoder_string.h
@@ -11,14 +11,8 @@
#ifndef _HTTP_DECODER_STRING_H_
#define _HTTP_DECODER_STRING_H_
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
#include "http_decoder.h"
-
enum string_state {
STRING_STATE_INIT,
STRING_STATE_REFER,
@@ -87,9 +81,4 @@ enum string_state http_decoder_string_state(struct http_decoder_string *rstr);
int http_decoder_string_get(struct http_decoder_string *rstr, struct hstring *out);
void http_decoder_string_dump(struct http_decoder_string *rstr, const char *desc);
-
-#ifdef __cplusplus
-}
-#endif
-
#endif \ No newline at end of file