]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/LoadableModules.cc
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
10 #include "debug/Messages.h"
11 #include "LoadableModule.h"
12 #include "LoadableModules.h"
13 #include "sbuf/List.h"
16 LoadModule(const SBuf
&fname
)
18 debugs(1, DBG_IMPORTANT
, "Loading Squid module from '" << fname
<< "'");
20 const auto m
= new LoadableModule(fname
);
22 debugs(1, 2, "Loaded Squid module from '" << fname
<< "'");
24 //TODO: TheModules.push_back(m);
28 LoadableModulesConfigure(const SBufList
&names
)
30 for (const auto &name
: names
) {
33 debugs(1, Important(25), "Squid plugin modules loaded: " << names
.size());