|
a/src/utils/smallut.h |
|
b/src/utils/smallut.h |
|
... |
|
... |
150 |
/** Substitute printf-like percents and also %(key) */
|
150 |
/** Substitute printf-like percents and also %(key) */
|
151 |
bool pcSubst(const string& in, string& out, const map<string, string>& subs);
|
151 |
bool pcSubst(const string& in, string& out, const map<string, string>& subs);
|
152 |
|
152 |
|
153 |
/** Append system error message */
|
153 |
/** Append system error message */
|
154 |
void catstrerror(string *reason, const char *what, int _errno);
|
154 |
void catstrerror(string *reason, const char *what, int _errno);
|
|
|
155 |
|
|
|
156 |
/** Portable timegm. MS C has _mkgmtime, but there is a bug in Gminw which
|
|
|
157 |
* makes it inaccessible */
|
|
|
158 |
struct tm;
|
|
|
159 |
time_t portable_timegm(struct tm *tm);
|
155 |
|
160 |
|
156 |
/** Compute times to help with perf issues */
|
161 |
/** Compute times to help with perf issues */
|
157 |
class Chrono {
|
162 |
class Chrono {
|
158 |
public:
|
163 |
public:
|
159 |
Chrono();
|
164 |
Chrono();
|