#ifndef SBUF_H #define SBUF_H #include #include struct xssl_cred_st { gnutls_certificate_credentials_t xcred; char tofu_file[MAX_FILENAME]; unsigned vflags; }; struct xssl_st { gnutls_session_t session; gnutls_buffer_st buf; char server_name[MAX_SERVER_NAME_SIZE]; char service_name[MAX_SERVER_NAME_SIZE]; xssl_cred_t cred; unsigned int vstatus; /* the verification status reason */ unsigned int flags; }; #endif