#ifndef _HAPROXY_BUG_H
#define _HAPROXY_BUG_H
+#include <stddef.h>
#include <haproxy/atomic.h>
#include <haproxy/compiler.h>
#endif
#endif
+#include <stddef.h>
#include <haproxy/list-t.h>
extern struct pool_head *pool_head_cbuf;
#ifndef _HAPROXY_DEFAULTS_H
#define _HAPROXY_DEFAULTS_H
+#include <haproxy/compat.h>
+
/* MAX_THREADS defines the highest limit for the global nbthread value. It
* defaults to the number of bits in a long integer when threads are enabled
* but may be lowered to save resources on embedded systems.
#ifndef _HAPROXY_HAPROXY_DGRAM_T_H
#define _HAPROXY_HAPROXY_DGRAM_T_H
+#include <haproxy/api-t.h>
+#include <haproxy/thread-t.h>
#include <arpa/inet.h>
/*
#ifndef _HAPROXY_DYNBUF_T_H
#define _HAPROXY_DYNBUF_T_H
+#include <haproxy/list-t.h>
/* an element of the <buffer_wq> list. It represents an object that need to
* acquire a buffer to continue its process. */
#define _HAPROXY_FILTERS_T_H
#include <haproxy/api-t.h>
+#include <haproxy/buf-t.h>
/* Flags set on a filter config */
#define FLT_CFG_FL_HTX 0x00000001 /* The filter can filter HTX streams */
#ifndef _HAPROXY_HTTPCLIENT_H
#define _HAPROXY_HTTPCLIENT_H
+#include <haproxy/buf.h>
#include <haproxy/http_client-t.h>
void httpclient_destroy(struct httpclient *hc);
#ifndef _HAPROXY_JWT_T_H
#define _HAPROXY_JWT_T_H
+#include <import/ebmbtree.h>
#include <haproxy/openssl-compat.h>
#ifdef USE_OPENSSL
#ifndef _HAPROXY_MQTT_T_H
#define _HAPROXY_MQTT_T_H
+#include <inttypes.h>
#include <import/ist.h>
/* MQTT protocol version
#ifndef _HAPROXY_PROTO_QUIC_H
#define _HAPROXY_PROTO_QUIC_H
+#include <import/ebtree.h>
+#include <haproxy/api-t.h>
+#include <haproxy/thread-t.h>
+
extern struct protocol proto_quic4;
extern struct protocol proto_quic6;
#ifndef _HAPROXY_PROTO_SOCKPAIR_H
#define _HAPROXY_PROTO_SOCKPAIR_H
+#include <haproxy/receiver-t.h>
+
extern struct proto_fam proto_fam_sockpair;
extern struct protocol proto_sockpair;
#ifndef _PROTO_PROTO_UDP_H
#define _PROTO_PROTO_UDP_H
+#include <haproxy/receiver-t.h>
+
extern struct protocol proto_udp4;
extern struct protocol proto_udp6;
#ifndef _HAPROXY_QPACK_DEC_H
#define _HAPROXY_QPACK_DEC_H
+#include <inttypes.h>
+
struct buffer;
struct http_hdr;
#ifndef _HAPROXY_QPACK_TBL_T_H
#define _HAPROXY_QPACK_TBL_T_H
+#include <inttypes.h>
+
/*
* Gcc before 3.0 needs [0] to declare a variable-size array
*/
#include <import/ebtree-t.h>
#include <haproxy/api-t.h>
+#include <haproxy/thread-t.h>
struct proxy;
struct server;
#ifndef _HAPROXY_QUIC_ACK_T_H
#define _HAPROXY_QUIC_ACK_T_H
+#include <inttypes.h>
+#include <stddef.h>
+#include <import/eb64tree.h>
+
/* The maximum number of ack ranges to be built in ACK frames */
#define QUIC_MAX_ACK_RANGES 32
#ifndef _HAPROXY_QUIC_ACK_H
#define _HAPROXY_QUIC_ACK_H
+#include <inttypes.h>
+
+struct quic_conn;
+struct quic_arng;
+struct quic_arngs;
+
void quic_free_arngs(struct quic_conn *qc, struct quic_arngs *arngs);
int quic_update_ack_ranges_list(struct quic_conn *qc,
struct quic_arngs *arngs,
extern struct pool_head *pool_head_quic_dgram;
extern struct pool_head *pool_head_quic_rx_packet;
+#include <import/eb64tree.h>
+#include <haproxy/api-t.h>
+#include <haproxy/quic_cid-t.h>
+#include <inttypes.h>
+#include <sys/socket.h>
+
+struct quic_version;
/* Maximum number of ack-eliciting received packets since the last
* ACK frame was sent
*/
#include <import/ebtree.h>
+#include <haproxy/buf-t.h>
#include <haproxy/ncbuf-t.h>
#include <haproxy/quic_ack-t.h>
#include <haproxy/openssl-compat.h>
#define QUIC_DGRAM_HEADLEN (sizeof(uint16_t) + sizeof(void *))
#define QUIC_MAX_CC_BUFSIZE (2 * (QUIC_MIN_CC_PKTSIZE + QUIC_DGRAM_HEADLEN))
+#include <import/eb64tree.h>
+#include <haproxy/list-t.h>
+
extern struct pool_head *pool_head_quic_tx_packet;
extern struct pool_head *pool_head_quic_cc_buf;
#define _HAPROXY_SSL_GENCERT_H
#ifdef USE_OPENSSL
+#include <haproxy/listener-t.h>
+#include <haproxy/ssl_sock-t.h>
+
int ssl_sock_generate_certificate(const char *servername, struct bind_conf *bind_conf, SSL *ssl);
int ssl_sock_generate_certificate_from_conn(struct bind_conf *bind_conf, SSL *ssl);
SSL_CTX *ssl_sock_assign_generated_cert(unsigned int key, struct bind_conf *bind_conf, SSL *ssl);
#include <haproxy/freq_ctr.h>
#include <haproxy/sample-t.h>
#include <haproxy/stick_table-t.h>
+#include <haproxy/thread.h>
#include <haproxy/ticks.h>
extern struct stktable *stktables_list;
#ifndef _HAPROXY_TOOLS_T_H
#define _HAPROXY_TOOLS_T_H
+#include <netinet/in.h>
+
/* size used for max length of decimal representation of long long int. */
#define NB_LLMAX_STR (sizeof("-9223372036854775807")-1)
#include <haproxy/api-t.h>
#include <haproxy/session-t.h>
#include <haproxy/stream-t.h>
+#include <haproxy/thread.h>
#include <haproxy/vars-t.h>
extern struct vars proc_vars;
+struct sample;
+struct arg;
void vars_init_head(struct vars *vars, enum vars_scope scope);
void var_accounting_diff(struct vars *vars, struct session *sess, struct stream *strm, int size);
#ifndef __HAPROXY_XREF_H__
#define __HAPROXY_XREF_H__
+#include <haproxy/api.h>
#include <haproxy/xref-t.h>
/* xref is used to create relation between two elements.
+#include <inttypes.h>
+
/* Fixed Huffman table as per RFC1951.
*
* Lit Value Bits Codes