]>
Commit | Line | Data |
---|---|---|
8822ebee | 1 | /* |
8822ebee AR |
2 | * DEBUG: section 16 Cache Manager API |
3 | * | |
4 | */ | |
5 | ||
f7f3304a | 6 | #include "squid.h" |
8822ebee AR |
7 | #include "CacheManager.h" |
8 | #include "mgr/Registration.h" | |
9 | ||
10 | void | |
11 | Mgr::RegisterAction(char const * action, char const * desc, | |
d9fc6862 A |
12 | OBJH * handler, |
13 | int pw_req_flag, int atomic) | |
8822ebee AR |
14 | { |
15 | CacheManager::GetInstance()->registerProfile(action, desc, handler, | |
d9fc6862 | 16 | pw_req_flag, atomic); |
8822ebee AR |
17 | } |
18 | ||
19 | void | |
20 | Mgr::RegisterAction(char const * action, char const * desc, | |
d9fc6862 A |
21 | ClassActionCreationHandler *handler, |
22 | int pw_req_flag, int atomic) | |
8822ebee AR |
23 | { |
24 | CacheManager::GetInstance()->registerProfile(action, desc, handler, | |
d9fc6862 | 25 | pw_req_flag, atomic); |
8822ebee | 26 | } |