Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iocore/cache/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ test_LDADD = \
$(top_builddir)/iocore/aio/libinkaio.a \
$(top_builddir)/src/tscore/libtscore.la \
$(top_builddir)/lib/records/librecords_p.a \
$(top_builddir)/lib/fastlz/libfastlz.a \
$(top_builddir)/iocore/eventsystem/libinkevent.a \
@HWLOC_LIBS@ \
@LIBPCRE@ \
Expand Down
18 changes: 15 additions & 3 deletions iocore/cache/test/stub.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@
limitations under the License.
*/

#include <string_view>

#include "HttpSessionManager.h"
#include "HttpBodyFactory.h"
#include "DiagsConfig.h"
#include "ts/InkAPIPrivateIOCore.h"

#include "tscore/I_Version.h"

AppVersionInfo appVersionInfo;

void
initialize_thread_for_http_sessions(EThread *, int)
{
Expand Down Expand Up @@ -70,6 +76,11 @@ HttpHookState::init(TSHttpHookID id, HttpAPIHooks const *global, HttpAPIHooks co
{
}

void
api_init()
{
}

APIHook const *
HttpHookState::getNext()
{
Expand Down Expand Up @@ -157,18 +168,19 @@ ts::svtoi(TextView src, TextView *out, int base)
}

void
HostStatus::setHostStatus(const char *name, TSHostStatus status, const unsigned int down_time, const unsigned int reason)
HostStatus::setHostStatus(const std::string_view name, const TSHostStatus status, const unsigned int down_time,
const unsigned int reason)
{
}

HostStatRec *
HostStatus::getHostStatus(const char *name)
HostStatus::getHostStatus(const std::string_view name)
{
return nullptr;
}

void
HostStatus::createHostStat(const char *name, const char *data)
HostStatus::createHostStat(const std::string_view name, const char *data)
{
}

Expand Down