#include <P_SSLNextProtocolSet.h>
Data Structures | |
struct | NextProtocolEndpoint |
Public Member Functions | |
SSLNextProtocolSet () | |
~SSLNextProtocolSet () | |
bool | registerEndpoint (const char *, Continuation *) |
bool | unregisterEndpoint (const char *, Continuation *) |
bool | advertiseProtocols (const unsigned char **out, unsigned *len) const |
Continuation * | findEndpoint (const unsigned char *, unsigned) const |
Definition at line 32 of file P_SSLNextProtocolSet.h.
SSLNextProtocolSet::SSLNextProtocolSet | ( | ) |
Definition at line 148 of file SSLNextProtocolSet.cc.
SSLNextProtocolSet::~SSLNextProtocolSet | ( | ) |
Definition at line 153 of file SSLNextProtocolSet.cc.
References ats_free(), and DLL< C, L >::pop().
bool SSLNextProtocolSet::advertiseProtocols | ( | const unsigned char ** | out, | |
unsigned * | len | |||
) | const |
Definition at line 80 of file SSLNextProtocolSet.cc.
Continuation * SSLNextProtocolSet::findEndpoint | ( | const unsigned char * | proto, | |
unsigned | len | |||
) | const |
Definition at line 136 of file SSLNextProtocolSet.cc.
References DLL< C, L >::head.
Referenced by registerEndpoint(), and SSLNetVConnection::sslServerHandShakeEvent().
bool SSLNextProtocolSet::registerEndpoint | ( | const char * | proto, | |
Continuation * | ep | |||
) |
Definition at line 92 of file SSLNextProtocolSet.cc.
References ats_free(), create_npn_advertisement(), findEndpoint(), and DLL< C, L >::push().
Referenced by SSLNextProtocolAccept::registerEndpoint().
bool SSLNextProtocolSet::unregisterEndpoint | ( | const char * | proto, | |
Continuation * | ep | |||
) |
Definition at line 119 of file SSLNextProtocolSet.cc.
References DLL< C, L >::head, and DLL< C, L >::remove().
Referenced by SSLNextProtocolAccept::unregisterEndpoint().