Sha256: 345e3e558240db94bd2662776e0d643d654712f280c83300a2e15abb305783ef
Contents?: true
Size: 1.83 KB
Versions: 7
Compression:
Stored size: 1.83 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_record_get_direction" 3 "3.1.4" "gnutls" "gnutls" .SH NAME gnutls_record_get_direction \- API function .SH SYNOPSIS .B #include <gnutls/gnutls.h> .sp .BI "int gnutls_record_get_direction(gnutls_session_t " session ");" .SH ARGUMENTS .IP "gnutls_session_t session" 12 is a \fBgnutls_session_t\fP structure. .SH "DESCRIPTION" This function provides information about the internals of the record protocol and is only useful if a prior gnutls function call (e.g. \fBgnutls_handshake()\fP) was interrupted for some reason, that is, if a function returned \fBGNUTLS_E_INTERRUPTED\fP or \fBGNUTLS_E_AGAIN\fP. In such a case, you might want to call \fBselect()\fP or \fBpoll()\fP before calling the interrupted gnutls function again. To tell you whether a file descriptor should be selected for either reading or writing, \fBgnutls_record_get_direction()\fP returns 0 if the interrupted function was trying to read data, and 1 if it was trying to write data. .SH "RETURNS" 0 if trying to read data, 1 if trying to write data. .SH "REPORTING BUGS" Report bugs to <bug-gnutls@gnu.org>. .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GnuTLS home page: http://www.gnu.org/software/gnutls/ .SH COPYRIGHT Copyright \(co 2012 Free Software Foundation, Inc.. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the .B info and .B gnutls programs are properly installed at your site, the command .IP .B info gnutls .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gnutls/manual/ .PP
Version data entries
7 entries across 7 versions & 1 rubygems