"Fossies" - the Fresh Open Source Software Archive

Member "HTTPing-2.9/mssl.h" (29 Oct 2022, 909 Bytes) of package /linux/www/HTTPing-2.9.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "mssl.h" see the Fossies "Dox" file reference documentation.

    1 /* Released under AGPL v3 with exception for the OpenSSL library. See license.txt */
    3 #include <netdb.h>
    4 #include <netinet/in.h>
    5 #include <netinet/tcp.h>
    6 #include <arpa/inet.h>
    8 void shutdown_ssl(void);
    9 int close_ssl_connection(SSL *const ssl_h);
   10 int READ_SSL(SSL *const ssl_h, char *whereto, int len, const double timeout);
   11 int WRITE_SSL(SSL *const ssl_h, const char *whereto, int len, const double timeout);
   12 int connect_ssl(const int fd, SSL_CTX *const client_ctx, SSL **const ssl_h, BIO **const s_bio, const double timeout, double *const ssl_handshake, char *const hostname);
   13 SSL_CTX * initialize_ctx(const char ask_compression, const char *ca_path);
   14 char * get_fingerprint(SSL *const ssl_h);
   15 int connect_ssl_proxy(const int fd, struct addrinfo *const ai, const double timeout, const char *const proxy_user, const char *const proxy_password, const char *const hostname, const int portnr, char *const tfo);