/*
- * include/types/ssl_crtlist.h
+ * include/haproxy/ssl_crtlist-t.h
* crt-list structures
*
* Copyright (C) 2020 HAProxy Technologies, William Lallemand <wlallemand@haproxy.com>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_SSL_CRTLIST_H
-#define _TYPES_SSL_CRTLIST_H
+#ifndef _HAPROXY_SSL_CRTLIST_T_H
+#define _HAPROXY_SSL_CRTLIST_T_H
#ifdef USE_OPENSSL
#include <import/ebmbtree.h>
+#include <import/ebpttree.h>
#include <haproxy/list-t.h>
};
#endif /* USE_OPENSSL */
-#endif /* _TYPES_SSL_CRTLIST_H */
+#endif /* _HAPROXY_SSL_CRTLIST_T_H */
/*
- * include/proto/ssl_crtlist.h
+ * include/haproxy/ssl_crtlist.h
* crt-list function prototyes
*
* Copyright (C) 2020 HAProxy Technologies, William Lallemand <wlallemand@haproxy.com>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_SSL_CRTLIST_H
-#define _PROTO_SSL_CRTLIST_H
+#ifndef _HAPROXY_SSL_CRTLIST_H
+#define _HAPROXY_SSL_CRTLIST_H
#ifdef USE_OPENSSL
-#include <types/ssl_crtlist.h>
+#include <haproxy/ssl_crtlist-t.h>
/* crt-list entry functions */
int crtlist_parse_file(char *file, struct bind_conf *bind_conf, struct proxy *curproxy, struct crtlist **crtlist, char **err);
int crtlist_load_cert_dir(char *path, struct bind_conf *bind_conf, struct crtlist **crtlist, char **err);
#endif /* USE_OPENSSL */
-#endif /* _PROTO_SSL_CRTLIST_H */
+#endif /* _HAPROXY_SSL_CRTLIST_H */
#include <import/eb64tree.h>
#include <types/connection.h> /* struct wait_event */
-#include <types/ssl_crtlist.h>
#include <haproxy/buf-t.h>
#include <haproxy/thread.h>
#include <haproxy/list-t.h>
#include <haproxy/openssl-compat.h>
#include <haproxy/ssl_ckch-t.h>
+#include <haproxy/ssl_crtlist-t.h>
/* ***** READ THIS before adding code here! *****
*
#include <haproxy/errors.h>
#include <haproxy/ssl_ckch.h>
+#include <haproxy/ssl_crtlist.h>
#include <haproxy/tools.h>
#include <dirent.h>
#include <import/ebsttree.h>
#include <types/cli.h>
-#include <types/ssl_crtlist.h>
#include <types/ssl_sock.h>
#include <proto/channel.h>
#include <proto/cli.h>
#include <proto/stream_interface.h>
-#include <proto/ssl_crtlist.h>
#include <proto/ssl_sock.h>
/* release ssl bind conf */
#include <haproxy/openssl-compat.h>
#include <haproxy/shctx.h>
#include <haproxy/ssl_ckch.h>
+#include <haproxy/ssl_crtlist.h>
#include <haproxy/ssl_utils.h>
#include <haproxy/tools.h>
#include <haproxy/ticks.h>
#include <proto/stream_interface.h>
#include <proto/log.h>
#include <proto/proxy.h>
-#include <proto/ssl_crtlist.h>
#include <proto/ssl_sock.h>
#include <proto/stream.h>
#include <proto/task.h>