Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -2,9 +2,6 @@
|
||||
|
||||
#ifndef http_parser_h
|
||||
#define http_parser_h
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define HTTP_PARSER_VERSION_MAJOR 2
|
||||
#define HTTP_PARSER_VERSION_MINOR 9
|
||||
@@ -34,11 +31,19 @@ typedef unsigned __int64 uint64_t;
|
||||
#define HTTP_MAX_HEADER_SIZE (80 * 1024)
|
||||
#endif
|
||||
|
||||
using http_parser = struct http_parser;
|
||||
using http_parser_settings = struct http_parser_settings;
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
using http_data_cb = int (*)(http_parser *, const char *, size_t);
|
||||
using http_cb = int (*)(http_parser *);
|
||||
/* Forward declarations */
|
||||
struct http_parser;
|
||||
struct http_parser_settings;
|
||||
|
||||
typedef struct http_parser http_parser;
|
||||
typedef struct http_parser_settings http_parser_settings;
|
||||
|
||||
typedef int (*http_data_cb)(http_parser *, const char *, size_t);
|
||||
typedef int (*http_cb)(http_parser *);
|
||||
|
||||
#define HTTP_STATUS_MAP(XX) \
|
||||
XX(100, CONTINUE, Continue) \
|
||||
|
||||
Reference in new issue
Block a user