|
a/src/utils/smallut.h |
|
b/src/utils/smallut.h |
|
... |
|
... |
140 |
unsigned int maxlines= 50);
|
140 |
unsigned int maxlines= 50);
|
141 |
/** Small utility to substitute printf-like percents cmds in a string */
|
141 |
/** Small utility to substitute printf-like percents cmds in a string */
|
142 |
bool pcSubst(const string& in, string& out, map<char, string>& subs);
|
142 |
bool pcSubst(const string& in, string& out, map<char, string>& subs);
|
143 |
/** Substitute printf-like percents and also %(key) */
|
143 |
/** Substitute printf-like percents and also %(key) */
|
144 |
bool pcSubst(const string& in, string& out, map<string, string>& subs);
|
144 |
bool pcSubst(const string& in, string& out, map<string, string>& subs);
|
|
|
145 |
|
|
|
146 |
/** Append system error message */
|
|
|
147 |
void catstrerror(string *reason, const char *what, int _errno);
|
145 |
|
148 |
|
146 |
/** Compute times to help with perf issues */
|
149 |
/** Compute times to help with perf issues */
|
147 |
class Chrono {
|
150 |
class Chrono {
|
148 |
public:
|
151 |
public:
|
149 |
Chrono();
|
152 |
Chrono();
|