1gnutls_heartbeat_enable(3)          gnutls          gnutls_heartbeat_enable(3)
2
3
4

NAME

6       gnutls_heartbeat_enable - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void  gnutls_heartbeat_enable(gnutls_session_t  session,  unsigned  int
12       type);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       unsigned int type
19                   one of the GNUTLS_HB_* flags
20

DESCRIPTION

22       If this function is called with the GNUTLS_HB_PEER_ALLOWED_TO_SEND
23        type , GnuTLS will allow heartbeat messages to be  received.  Moreover
24       it also request the peer to accept heartbeat messages.
25
26       If  the   type  used  is GNUTLS_HB_LOCAL_ALLOWED_TO_SEND, then the peer
27       will be asked to accept heartbeat messages but not send ones.
28
29       The function gnutls_heartbeat_allowed() can be  used  to  test  Whether
30       locally generated heartbeat messages can be accepted by the peer.
31

SINCE

33       3.1.2
34

REPORTING BUGS

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

SEE ALSO

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