|
a/src/utils/smallut.h |
|
b/src/utils/smallut.h |
1 |
#ifndef _SMALLUT_H_INCLUDED_
|
1 |
#ifndef _SMALLUT_H_INCLUDED_
|
2 |
#define _SMALLUT_H_INCLUDED_
|
2 |
#define _SMALLUT_H_INCLUDED_
|
3 |
/* @(#$Id: smallut.h,v 1.11 2006-01-04 11:33:44 dockes Exp $ (C) 2004 J.F.Dockes */
|
3 |
/* @(#$Id: smallut.h,v 1.12 2006-01-19 12:01:43 dockes Exp $ (C) 2004 J.F.Dockes */
|
4 |
#include <string>
|
4 |
#include <string>
|
5 |
#include <list>
|
5 |
#include <list>
|
6 |
|
6 |
|
7 |
#ifndef NO_NAMESPACES
|
7 |
#ifndef NO_NAMESPACES
|
8 |
using std::string;
|
8 |
using std::string;
|
|
... |
|
... |
38 |
|
38 |
|
39 |
/** Remove instances of characters belonging to set (default {space,
|
39 |
/** Remove instances of characters belonging to set (default {space,
|
40 |
tab}) at beginning and end of input string */
|
40 |
tab}) at beginning and end of input string */
|
41 |
extern void trimstring(string &s, const char *ws = " \t");
|
41 |
extern void trimstring(string &s, const char *ws = " \t");
|
42 |
|
42 |
|
|
|
43 |
extern std::string escapeHtml(const std::string &in);
|
|
|
44 |
|
43 |
#endif /* _SMALLUT_H_INCLUDED_ */
|
45 |
#endif /* _SMALLUT_H_INCLUDED_ */
|