ne_ssl_proto_name.3 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. '\" t
  2. .\" Title: ne_ssl_proto_name
  3. .\" Author:
  4. .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
  5. .\" Date: 15 July 2025
  6. .\" Manual: neon API reference
  7. .\" Source: neon 0.35.0
  8. .\" Language: English
  9. .\"
  10. .TH "NE_SSL_PROTO_NAME" "3" "15 July 2025" "neon 0.35.0" "neon API reference"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. ne_ssl_proto_name \- SSL/TLS protocol version to name mapping
  32. .SH "SYNOPSIS"
  33. .sp
  34. .ft B
  35. .nf
  36. #include <ne_ssl\&.h>
  37. .fi
  38. .ft
  39. .HP \w'const\ char\ *ne_ssl_proto_name('u
  40. .BI "const char *ne_ssl_proto_name(enum\ ne_ssl_protocol\ " "proto" ");"
  41. .SH "DESCRIPTION"
  42. .PP
  43. The
  44. \fBne_ssl_proto_name\fR
  45. function returns a human\-readable name for a SSL/TLS version constant\&. The set of versions currently are as follows:
  46. .PP
  47. \fBNE_SSL_PROTO_UNSPEC\fR
  48. .RS 4
  49. unspecified/unknown version
  50. .RE
  51. .PP
  52. \fBNE_SSL_PROTO_SSL3\fR
  53. .RS 4
  54. SSL v3
  55. .RE
  56. .PP
  57. \fBNE_SSL_PROTO_TLS_1_0\fR
  58. .RS 4
  59. TLS v1\&.0
  60. .RE
  61. .PP
  62. \fBNE_SSL_PROTO_TLS_1_1\fR
  63. .RS 4
  64. TLS v1\&.1
  65. .RE
  66. .PP
  67. \fBNE_SSL_PROTO_TLS_1_2\fR
  68. .RS 4
  69. TLS v1\&.2
  70. .RE
  71. .PP
  72. \fBNE_SSL_PROTO_TLS_1_3\fR
  73. .RS 4
  74. TLS v1\&.3
  75. .RE
  76. .SH "RETURN VALUE"
  77. .PP
  78. The
  79. \fBne_ssl_proto_name\fR
  80. function always returns a non\-NULL
  81. string even if the version constant is not valid\&.
  82. .SH "HISTORY"
  83. .PP
  84. \fBne_ssl_proto_name\fR
  85. is available in neon 0\&.34\&.0 and later\&.
  86. .SH "SEE ALSO"
  87. .PP
  88. ne_ssl_set_protovers
  89. .SH "COPYRIGHT"
  90. .br
  91. Copyright \(co 2001-2025 Joe Orton
  92. .br