]>
Commit | Line | Data |
---|---|---|
8822ebee | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
8822ebee | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
8822ebee AR |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 16 Cache Manager API */ |
10 | ||
f7f3304a | 11 | #include "squid.h" |
8822ebee AR |
12 | #include "CacheManager.h" |
13 | #include "mgr/Registration.h" | |
14 | ||
15 | void | |
16 | Mgr::RegisterAction(char const * action, char const * desc, | |
d9fc6862 A |
17 | OBJH * handler, |
18 | int pw_req_flag, int atomic) | |
8822ebee AR |
19 | { |
20 | CacheManager::GetInstance()->registerProfile(action, desc, handler, | |
d9fc6862 | 21 | pw_req_flag, atomic); |
8822ebee AR |
22 | } |
23 | ||
24 | void | |
25 | Mgr::RegisterAction(char const * action, char const * desc, | |
d9fc6862 A |
26 | ClassActionCreationHandler *handler, |
27 | int pw_req_flag, int atomic) | |
8822ebee AR |
28 | { |
29 | CacheManager::GetInstance()->registerProfile(action, desc, handler, | |
d9fc6862 | 30 | pw_req_flag, atomic); |
8822ebee | 31 | } |