



@deftypefun {int} {xssl_sinit} (xssl_t * @var{isb}, gnutls_session_t @var{session}, unsigned int @var{flags})
@var{isb}: is a pointer to a @code{xssl_t}  structure.

@var{session}: a GnuTLS session

@var{flags}: should be zero or @code{GNUTLS_SBUF_WRITE_FLUSHES} 

This function initializes a @code{xssl_t}  structure associated
with the provided session. If the flag @code{GNUTLS_SBUF_WRITE_FLUSHES} 
is set then @code{xssl_queue()}  will flush when the maximum
data size for a record is reached.

@strong{Returns:} @code{GNUTLS_E_SUCCESS}  on success, or an error code.

@strong{Since:} 3.1.7
@end deftypefun
