]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/mgr/Registration.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / mgr / Registration.cc
... / ...
CommitLineData
1/*
2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9/* DEBUG: section 16 Cache Manager API */
10
11#include "squid.h"
12#include "CacheManager.h"
13#include "mgr/Registration.h"
14
15void
16Mgr::RegisterAction(char const * action, char const * desc,
17 OBJH * handler,
18 int pw_req_flag, int atomic)
19{
20 CacheManager::GetInstance()->registerProfile(action, desc, handler,
21 pw_req_flag, atomic);
22}
23
24void
25Mgr::RegisterAction(char const * action, char const * desc,
26 ClassActionCreationHandler *handler,
27 int pw_req_flag, int atomic)
28{
29 CacheManager::GetInstance()->registerProfile(action, desc, handler,
30 pw_req_flag, atomic);
31}
32