1gnutls_record_uncork(3)             gnutls             gnutls_record_uncork(3)
2
3
4

NAME

6       gnutls_record_uncork - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_record_uncork(gnutls_session_t session, unsigned int flags);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t structure.
16
17       unsigned int flags
18                   Could be zero or GNUTLS_RECORD_WAIT
19

DESCRIPTION

21       This resets the effect of gnutls_record_cork(), and flushes any pending
22       data. If the GNUTLS_RECORD_WAIT flag is specified  then  this  function
23       will  block  until  the data is sent or a fatal error occurs (i.e., the
24       function will retry on GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED).
25
26       If the flag GNUTLS_RECORD_WAIT is not specified  and  the  function  is
27       interrupted then the GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED errors will
28       be returned.  To  obtain  the  data  left  in  the  corked  buffer  use
29       gnutls_record_check_corked().
30

RETURNS

32       On  success  the number of transmitted data is returned, or otherwise a
33       negative error code.
34

SINCE

36       3.1.9
37

REPORTING BUGS

39       Report bugs to <bugs@gnutls.org>.
40       Home page: http://www.gnutls.org
41
42
44       Copyright © 2001-2014 Free Software Foundation, Inc..
45       Copying and distribution of this file, with  or  without  modification,
46       are  permitted  in  any  medium  without royalty provided the copyright
47       notice and this notice are preserved.
48

SEE ALSO

50       The full documentation for gnutls is maintained as  a  Texinfo  manual.
51       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
52       visit
53
54       http://www.gnutls.org/manual/
55
56gnutls                              3.3.29             gnutls_record_uncork(3)
Impressum