Switch to unified view

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.8 2005-11-24 07:16:16 dockes Exp $  (C) 2004 J.F.Dockes */
3
/* @(#$Id: smallut.h,v 1.9 2005-11-25 08:50:39 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;
...
...
17
extern bool samecharset(const string &cs1, const string &cs2);
17
extern bool samecharset(const string &cs1, const string &cs2);
18
18
19
extern bool maketmpdir(string& tdir);
19
extern bool maketmpdir(string& tdir);
20
extern string stringlistdisp(const list<string>& strs);
20
extern string stringlistdisp(const list<string>& strs);
21
21
22
/**
23
 * Parse input stream into list of strings. 
24
 *
25
 * Token delimiter is " \t" except inside dquotes. dquote inside
26
 * dquotes can be escaped with \ etc...
27
 */
28
extern bool stringToStrings(const string &s, std::list<string> &tokens);
29
30
extern bool stringToBool(const string &s);
31
22
#endif /* _SMALLUT_H_INCLUDED_ */
32
#endif /* _SMALLUT_H_INCLUDED_ */