]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Registration.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / mgr / Registration.cc
1 /*
2 * $Id$
3 *
4 * DEBUG: section 16 Cache Manager API
5 *
6 */
7
8 #include "squid.h"
9 #include "CacheManager.h"
10 #include "mgr/Registration.h"
11
12 void
13 Mgr::RegisterAction(char const * action, char const * desc,
14 OBJH * handler,
15 int pw_req_flag, int atomic)
16 {
17 CacheManager::GetInstance()->registerProfile(action, desc, handler,
18 pw_req_flag, atomic);
19 }
20
21 void
22 Mgr::RegisterAction(char const * action, char const * desc,
23 ClassActionCreationHandler *handler,
24 int pw_req_flag, int atomic)
25 {
26 CacheManager::GetInstance()->registerProfile(action, desc, handler,
27 pw_req_flag, atomic);
28 }