Blame keepalived/include/check_ssl.h

Packit c22fc9
/*
Packit c22fc9
 * Soft:        Keepalived is a failover program for the LVS project
Packit c22fc9
 *              <www.linuxvirtualserver.org>. It monitor & manipulate
Packit c22fc9
 *              a loadbalanced server pool using multi-layer checks.
Packit c22fc9
 *
Packit c22fc9
 * Part:        check_http.c include file.
Packit c22fc9
 *
Packit c22fc9
 * Authors:     Alexandre Cassen, <acassen@linux-vs.org>
Packit c22fc9
 *              Jan Holmberg, <jan@artech.net>
Packit c22fc9
 *
Packit c22fc9
 *              This program is distributed in the hope that it will be useful,
Packit c22fc9
 *              but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit c22fc9
 *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit c22fc9
 *              See the GNU General Public License for more details.
Packit c22fc9
 *
Packit c22fc9
 *              This program is free software; you can redistribute it and/or
Packit c22fc9
 *              modify it under the terms of the GNU General Public License
Packit c22fc9
 *              as published by the Free Software Foundation; either version
Packit c22fc9
 *              2 of the License, or (at your option) any later version.
Packit c22fc9
 *
Packit c22fc9
 * Copyright (C) 2001-2017 Alexandre Cassen, <acassen@gmail.com>
Packit c22fc9
 */
Packit c22fc9
Packit c22fc9
#ifndef _CHECK_SSL_H
Packit c22fc9
#define _CHECK_SSL_H
Packit c22fc9
Packit c22fc9
/* system includes */
Packit c22fc9
#include <openssl/ssl.h>
Packit c22fc9
Packit c22fc9
/* local includes */
Packit c22fc9
#include "check_data.h"
Packit c22fc9
#include "scheduler.h"
Packit c22fc9
Packit c22fc9
/* Prototypes */
Packit c22fc9
extern void install_ssl_check_keyword(void);
Packit c22fc9
extern bool init_ssl_ctx(void);
Packit c22fc9
extern void clear_ssl(ssl_data_t *);
Packit c22fc9
extern int ssl_connect(thread_t *, int);
Packit c22fc9
extern int ssl_printerr(int);
Packit c22fc9
extern bool ssl_send_request(SSL *, char *, int);
Packit c22fc9
extern int ssl_read_thread(thread_t *);
Packit c22fc9
#ifdef THREAD_DUMP
Packit c22fc9
extern void register_check_ssl_addresses(void);
Packit c22fc9
#endif
Packit c22fc9
Packit c22fc9
#endif