"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.15/tls.h" (21 Feb 2022, 629 Bytes) of package /linux/www/memcached-1.6.15.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 "tls.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.6.10_vs_1.6.11.

    1 #ifndef TLS_H
    2 #define TLS_H
    4 /* constant session ID context for application-level SSL session scoping.
    5  * used in server-side SSL session caching, when enabled. */
    6 #define SESSION_ID_CONTEXT "memcached"
    8 void SSL_LOCK(void);
    9 void SSL_UNLOCK(void);
   10 ssize_t ssl_read(conn *c, void *buf, size_t count);
   11 ssize_t ssl_sendmsg(conn *c, struct msghdr *msg, int flags);
   12 ssize_t ssl_write(conn *c, void *buf, size_t count);
   14 int ssl_init(void);
   15 bool refresh_certs(char **errmsg);
   16 void ssl_callback(const SSL *s, int where, int ret);
   17 int ssl_new_session_callback(SSL *s, SSL_SESSION *sess);
   18 const char *ssl_proto_text(int version);
   20 #endif