--- parser3/src/include/pa_http.h 2020/10/11 22:59:19 1.22 +++ parser3/src/include/pa_http.h 2020/10/12 14:28:53 1.24 @@ -8,7 +8,7 @@ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.22 2020/10/11 22:59:19 moko Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.24 2020/10/12 14:28:53 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" @@ -99,12 +99,12 @@ public: void read_header(); size_t read_post(char *, size_t); - size_t send_body(const void *buf, size_t size); + size_t send_body(const void *, size_t); }; class HTTPD_Server : public PA_Allocated { public: - static int bind(const char *host, int port); + static int bind(const char *host_port); static HTTPD_Connection *accept(int sock, int timeout_value); };