]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
authorWilly Tarreau <w@1wt.eu>
Wed, 27 May 2020 10:58:42 +0000 (12:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:42 +0000 (10:18 +0200)
commit4c7e4b7738e267db3288b9eb04bec5c4e744aa69
tree6459ec50131d41f3c8f7e76f201adef0105df3d1
parent7ab7031e34541bdebc6f4f88af12d0febfcceab4
REORG: include: update all files to use haproxy/api.h or api-t.h if needed

All files that were including one of the following include files have
been updated to only include haproxy/api.h or haproxy/api-t.h once instead:

  - common/config.h
  - common/compat.h
  - common/compiler.h
  - common/defaults.h
  - common/initcall.h
  - common/tools.h

The choice is simple: if the file only requires type definitions, it includes
api-t.h, otherwise it includes the full api.h.

In addition, in these files, explicit includes for inttypes.h and limits.h
were dropped since these are now covered by api.h and api-t.h.

No other change was performed, given that this patch is large and
affects 201 files. At least one (tools.h) was already freestanding and
didn't get the new one added.
201 files changed:
contrib/mod_defender/defender.c
contrib/prometheus-exporter/service-prometheus.c
include/common/base64.h
include/common/buffer.h
include/common/cfgparse.h
include/common/chunk.h
include/common/config.h
include/common/debug.h
include/common/fcgi.h
include/common/h1.h
include/common/h2.h
include/common/hathreads.h
include/common/hpack-dec.h
include/common/hpack-enc.h
include/common/hpack-tbl.h
include/common/htx.h
include/common/ist.h
include/common/memory.h
include/common/mini-clist.h
include/common/net_helper.h
include/common/regex.h
include/common/standard.h
include/common/template.h
include/common/ticks.h
include/common/time.h
include/common/tools.h
include/common/uri_auth.h
include/common/version.h
include/import/ebtree.h
include/proto/acl.h
include/proto/activity.h
include/proto/applet.h
include/proto/auth.h
include/proto/backend.h
include/proto/channel.h
include/proto/connection.h
include/proto/fd.h
include/proto/freq_ctr.h
include/proto/frontend.h
include/proto/http_ana.h
include/proto/http_fetch.h
include/proto/http_rules.h
include/proto/lb_chash.h
include/proto/lb_fas.h
include/proto/lb_fwlc.h
include/proto/lb_fwrr.h
include/proto/lb_map.h
include/proto/log.h
include/proto/mux_pt.h
include/proto/obj_type.h
include/proto/pattern.h
include/proto/payload.h
include/proto/peers.h
include/proto/pipe.h
include/proto/proto_tcp.h
include/proto/proxy.h
include/proto/queue.h
include/proto/server.h
include/proto/session.h
include/proto/stats.h
include/proto/stream.h
include/proto/stream_interface.h
include/proto/task.h
include/proto/tcp_rules.h
include/proto/template.h
include/proto/trace.h
include/types/acl.h
include/types/activity.h
include/types/applet.h
include/types/auth.h
include/types/backend.h
include/types/capture.h
include/types/channel.h
include/types/checks.h
include/types/connection.h
include/types/fcgi-app.h
include/types/fd.h
include/types/filters.h
include/types/freq_ctr.h
include/types/global.h
include/types/http_ana.h
include/types/lb_chash.h
include/types/lb_fas.h
include/types/lb_fwlc.h
include/types/lb_fwrr.h
include/types/lb_map.h
include/types/listener.h
include/types/log.h
include/types/pattern.h
include/types/peers.h
include/types/pipe.h
include/types/protocol.h
include/types/proxy.h
include/types/queue.h
include/types/ring.h
include/types/server.h
include/types/session.h
include/types/signal.h
include/types/sink.h
include/types/stream.h
include/types/stream_interface.h
include/types/task.h
include/types/template.h
include/types/trace.h
src/51d.c
src/acl.c
src/action.c
src/activity.c
src/applet.c
src/auth.c
src/backend.c
src/base64.c
src/buffer.c
src/cache.c
src/calltrace.c
src/cfgparse-ssl.c
src/cfgparse.c
src/channel.c
src/checks.c
src/chunk.c
src/cli.c
src/compression.c
src/connection.c
src/da.c
src/debug.c
src/dns.c
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/fcgi-app.c
src/fd.c
src/filters.c
src/flt_http_comp.c
src/flt_spoe.c
src/flt_trace.c
src/freq_ctr.c
src/frontend.c
src/h1.c
src/h1_htx.c
src/h2.c
src/haproxy.c
src/hlua.c
src/hpack-huff.c
src/http.c
src/http_acl.c
src/http_act.c
src/http_ana.c
src/http_conv.c
src/http_fetch.c
src/http_htx.c
src/http_rules.c
src/lb_chash.c
src/lb_fas.c
src/lb_fwlc.c
src/lb_fwrr.c
src/lb_map.c
src/listener.c
src/log.c
src/map.c
src/memory.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mworker-prog.c
src/mworker.c
src/namespace.c
src/pattern.c
src/payload.c
src/peers.c
src/pipe.c
src/proto_sockpair.c
src/proto_tcp.c
src/proto_uxst.c
src/protocol.c
src/proxy.c
src/queue.c
src/raw_sock.c
src/regex.c
src/ring.c
src/sample.c
src/server.c
src/session.c
src/sink.c
src/ssl_sample.c
src/ssl_sock.c
src/standard.c
src/stats.c
src/stick_table.c
src/stream.c
src/stream_interface.c
src/task.c
src/tcp_rules.c
src/time.c
src/trace.c
src/uri_auth.c
src/vars.c
src/wdt.c
src/wurfl.c