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