MCPcopy Create free account
hub / github.com/apache/trafficserver / TSSslHookInternalID

Class TSSslHookInternalID

include/iocore/net/SSLAPIHooks.h:30–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "ts/apidefs.h"
29
30class TSSslHookInternalID
31{
32public:
33 explicit constexpr TSSslHookInternalID(TSHttpHookID id) : _id(id - TS_SSL_FIRST_HOOK) {}
34
35 constexpr
36 operator int() const
37 {
38 return _id;
39 }
40
41 static const int NUM = TS_SSL_LAST_HOOK - TS_SSL_FIRST_HOOK + 1;
42
43 constexpr bool
44 is_in_bounds() const
45 {
46 return (_id >= 0) && (_id < NUM);
47 }
48
49private:
50 const int _id;
51};
52
53class SSLAPIHooks : public FeatureAPIHooks<TSSslHookInternalID, TSSslHookInternalID::NUM>
54{

Callers 6

_verify_certificateMethod · 0.85
getSessionMethod · 0.85
callHooksMethod · 0.85
invoke_tls_eventMethod · 0.85
ssl_new_cached_sessionFunction · 0.85
ssl_rm_cached_sessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected