#49 Adding support for C++

This commit is contained in:
justinkim
2018-09-10 09:07:08 +09:00
parent 28e8a16b54
commit c69d27b875
23 changed files with 189 additions and 1 deletions

View File

@ -8,6 +8,10 @@
#ifndef __HTTPPARSER_H__
#define __HTTPPARSER_H__
#ifdef __cplusplus
extern <EFBFBD><EFBFBD>C<EFBFBD><EFBFBD> {
#endif
//#define _HTTPPARSER_DEBUG_
#define HTTP_SERVER_PORT 80 /**< HTTP server well-known port number */
@ -147,4 +151,8 @@ uint16_t ATOI(uint8_t * str, uint8_t base);
void mid(char* src, char* s1, char* s2, char* sub);
void inet_addr_(uint8_t * addr, uint8_t * ip);
#ifdef __cplusplus
}
#endif
#endif /* end of __HTTPPARSER_H__ */