| 82 | } |
| 83 | |
| 84 | APIHook const * |
| 85 | HttpHookState::Scope::candidate() |
| 86 | { |
| 87 | /// Simply returns _c hook for now. Later will do priority checking here |
| 88 | |
| 89 | // Check to see if a hook has been added since this was initialized empty |
| 90 | if (nullptr == _c && nullptr == _p && _hooks != nullptr) { |
| 91 | _c = _hooks->head(); |
| 92 | } |
| 93 | return _c; |
| 94 | } |
| 95 | |
| 96 | void |
| 97 | HttpHookState::Scope::operator++() |