.\" Man page generated from reStructuredText. . .TH "TSPROTOSET" "3ts" "Dec 06, 2020" "8.0" "Apache Traffic Server" .SH NAME TSProtoSet \- TSProtoSet API function . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fI#include \fP .INDENT 0.0 .TP .B TSNextProtocolSet TSGetcloneProtoSet(TSAcceptor\fI\ tna\fP) .UNINDENT .INDENT 0.0 .TP .B TSNextProtocolSet TSUnregisterProtocol(TSNextProtocolSet\fI\ protoset\fP, const char*\fI\ protocol\fP) .UNINDENT .INDENT 0.0 .TP .B void TSRegisterProtocolSet(TSVConn\fI\ sslp\fP, TSNextProtocolSet\fI\ ps\fP) .UNINDENT .SH DESCRIPTION .sp \fI\%TSGetcloneProtoSet()\fP makes a copy of the ProtocolSet to be advertised by the ssl connection associated with \fItna\fP\&. This function returns \fBTSNextProtocolSet\fP object which points to a clone of the protocolset owned by \fItna\fP\&. This type represents the protocolset containing the protocols which are advertised by an ssl connection during ssl handshake. Each \fBTSAcceptor\fP object is associated with a protocolset. .sp \fI\%TSUnregisterProtocol()\fP unregisters \fIprotocol\fP from \fIprotoset\fP and returns the protocol set. The returned protocol set needs to be registered with the \fBTSVConn\fP using \fI\%TSRegisterProtocolSet()\fP that will advertise the protocols. .sp \fI\%TSRegisterProtocolSet()\fP registers \fIps\fP with \fIsslp\fP\&. This function clears the protocolset string created by the already registered protocolset before registering the new protocolset. On Success, the ssl object associated with \fIsslp\fP will then advertise the protocols contained in \fIps\fP\&. .SH COPYRIGHT 2020, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .