]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/Registration.cc
Boilerplate: update copyright blurbs on Squid helpers
[thirdparty/squid.git] / src / mgr / Registration.cc
CommitLineData
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
10void
11Mgr::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
19void
20Mgr::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}