2020-01-25 11:05:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cache.h"
|
|
|
|
|
2020-01-28 05:13:11 +00:00
|
|
|
void htmlencode(std::string& data);
|
|
|
|
|
2020-02-11 16:34:23 +00:00
|
|
|
void show_histogram(const Caches& cc, std::string Cache::*ptr, const std::string& caption, bool html = 0, bool sort_by_val = 1);
|
2020-05-02 23:26:03 +00:00
|
|
|
void show_nested_histogram(const Caches& cc, std::string Cache::*ptr, std::string Cache::*ptr2, const std::string& caption, bool html = 0, bool sort_by_val = 1);
|
2020-01-25 11:05:38 +00:00
|
|
|
|
|
|
|
int find_streak(const std::multimap<std::time_t, const Cache*>& cc, std::tm& start);
|
2020-02-23 00:41:15 +00:00
|
|
|
|
|
|
|
long int get_num(char c, char* opt);
|