CLEANUP: ssl: avoid circular dependencies in ssl_crtlist.h

Add forward declarations in types/ssl_crtlist.h in order to avoid
circular dependencies. Also remove the listener.h include which is not
needed anymore.
This commit is contained in:
William Lallemand 2020-05-13 08:24:41 +02:00 committed by William Lallemand
parent 6e9556b635
commit c1c50b46e9

View File

@ -23,9 +23,14 @@
#define _TYPES_SSL_CRTLIST_H
#ifdef USE_OPENSSL
#include <ebmbtree.h>
#include <common/mini-clist.h>
#include <types/listener.h>
/* forward declarations for structures below */
struct bind_conf;
struct ssl_bind_conf;
struct proxy;
/* list of bind conf used by struct crtlist */
struct bind_conf_list {