GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/src/node_crypto_clienthello-inl.h at master · littledan/node Expand file tree/ Copy pathnode_crypto_clienthello-inl.hMore file actions 56 lines (45 loc) · 1.16 KB / Copy pathnode_crypto_clienthello-inl.hFile metadata and controls56 lines (45 loc) · 1.16 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 #ifndef SRC_NODE_CRYPTO_CLIENTHELLO_INL_H_ #define SRC_NODE_CRYPTO_CLIENTHELLO_INL_H_ #include "util.h" #include "util-inl.h" namespace node { inline void ClientHelloParser::Reset() { frame_len_ = 0; body_offset_ = 0; extension_offset_ = 0; session_size_ = 0; session_id_ = nullptr; tls_ticket_size_ = -1; tls_ticket_ = nullptr; servername_size_ = 0; servername_ = nullptr; } inline void ClientHelloParser::Start(ClientHelloParser::OnHelloCb onhello_cb, ClientHelloParser::OnEndCb onend_cb, void* onend_arg) { if (!IsEnded()) return; Reset(); CHECK_NE(onhello_cb, nullptr); state_ = kWaiting; onhello_cb_ = onhello_cb; onend_cb_ = onend_cb; cb_arg_ = onend_arg; } inline void ClientHelloParser::End() { if (state_ == kEnded) return; state_ = kEnded; if (onend_cb_ != nullptr) { onend_cb_(cb_arg_); onend_cb_ = nullptr; } } inline bool ClientHelloParser::IsEnded() const { return state_ == kEnded; } inline bool ClientHelloParser::IsPaused() const { return state_ == kPaused; } } // namespace node #endif // SRC_NODE_CRYPTO_CLIENTHELLO_INL_H_ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |