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

Method init

src/api/HttpHookState.cc:33–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31} // end anonymous namespace
32
33void
34HttpHookState::init(TSHttpHookID id, HttpAPIHooks const *global, HttpAPIHooks const *ssn, HttpAPIHooks const *txn)
35{
36 _id = id;
37
38 if (global) {
39 _global.init(global, id);
40 } else {
41 _global.clear();
42 }
43
44 if (ssn) {
45 _ssn.init(ssn, id);
46 } else {
47 _ssn.clear();
48 }
49
50 if (txn) {
51 _txn.init(txn, id);
52 } else {
53 _txn.clear();
54 }
55}
56
57APIHook const *
58HttpHookState::getNext()

Callers 7

TSContCreateFunction · 0.45
TSVConnCreateFunction · 0.45
TSHostLookupFunction · 0.45
TSFetchPagesFunction · 0.45
TSFetchUrlFunction · 0.45

Calls 2

clearMethod · 0.45
headMethod · 0.45