/*
- * include/common/fcgi.h
+ * include/haproxy/fcgi.h
* This file contains FastCGI protocol definitions.
*
* Copyright (C) 2019 HAProxy Technologies, Christopher Faulet <cfaulet@haproxy.com>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _COMMON_FCGI_H
-#define _COMMON_FCGI_H
+#ifndef _HAPROXY_FCGI_H
+#define _HAPROXY_FCGI_H
-#include <stdio.h>
+#include <import/ist.h>
#include <haproxy/api.h>
#include <haproxy/buf-t.h>
-#include <import/ist.h>
/* FCGI protocol version */
#define FCGI_VERSION 0x1
};
struct fcgi_unknown_type {
- uint8_t type;
+ uint8_t type;
};
size_t fcgi_decode_end_request(const struct buffer *in, size_t o, struct fcgi_end_request *r);
-#endif /* _COMMON_FCGI_H */
+#endif /* _HAPROXY_FCGI_H */
/*
* Local variables:
#include <haproxy/api-t.h>
#include <import/ist.h>
-#include <common/fcgi.h>
+#include <haproxy/fcgi.h>
#include <haproxy/list-t.h>
#include <haproxy/regex-t.h>
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <common/fcgi.h>
+#include <haproxy/fcgi.h>
#include <haproxy/buf.h>
#include <haproxy/istbuf.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
-#include <common/fcgi.h>
+#include <haproxy/fcgi.h>
#include <haproxy/h1.h>
#include <haproxy/htx.h>
#include <import/ist.h>