Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / openssl / doc / ssl / SSL_rstate_string.pod
blobbdb8a1fcd55f87414e33ced8f951d0516afc5e23
1 =pod
3 =head1 NAME
5 SSL_rstate_string, SSL_rstate_string_long - get textual description of state of an SSL object during read operation
7 =head1 SYNOPSIS
9  #include <openssl/ssl.h>
11  const char *SSL_rstate_string(SSL *ssl);
12  const char *SSL_rstate_string_long(SSL *ssl);
14 =head1 DESCRIPTION
16 SSL_rstate_string() returns a 2 letter string indicating the current read state
17 of the SSL object B<ssl>.
19 SSL_rstate_string_long() returns a string indicating the current read state of
20 the SSL object B<ssl>.
22 =head1 NOTES
24 When performing a read operation, the SSL/TLS engine must parse the record,
25 consisting of header and body. When working in a blocking environment,
26 SSL_rstate_string[_long]() should always return "RD"/"read done".
28 This function should only seldom be needed in applications.
30 =head1 RETURN VALUES
32 SSL_rstate_string() and SSL_rstate_string_long() can return the following
33 values:
35 =over 4
37 =item "RH"/"read header"
39 The header of the record is being evaluated.
41 =item "RB"/"read body"
43 The body of the record is being evaluated.
45 =item "RD"/"read done"
47 The record has been completely processed.
49 =item "unknown"/"unknown"
51 The read state is unknown. This should never happen.
53 =back
55 =head1 SEE ALSO
57 L<ssl(3)|ssl(3)>
59 =cut