|
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.6 2005-04-06 10:20:11 dockes Exp $ (C) 2004 J.F.Dockes */
|
3 |
/* @(#$Id: smallut.h,v 1.7 2005-11-23 10:16:28 dockes Exp $ (C) 2004 J.F.Dockes */
|
4 |
#include <string>
|
4 |
#include <string>
|
5 |
#include <list>
|
5 |
#include <list>
|
6 |
#include <iostream>
|
6 |
#include <iostream>
|
7 |
using std::string;
|
7 |
using std::string;
|
8 |
using std::list;
|
8 |
using std::list;
|
9 |
using std::ostream;
|
9 |
using std::ostream;
|
10 |
extern int stringicmp(const string& s1, const string& s2);
|
10 |
extern int stringicmp(const string& s1, const string& s2);
|
11 |
extern int stringlowercmp(const string& alreadylower, const string& s2);
|
11 |
extern int stringlowercmp(const string& alreadylower, const string& s2);
|
12 |
extern int stringuppercmp(const string& alreadyupper, const string& s2);
|
12 |
extern int stringuppercmp(const string& alreadyupper, const string& s2);
|
13 |
|
13 |
|
|
|
14 |
// Compare charset names, removing the more common spelling variations
|
|
|
15 |
extern bool samecharset(const string &cs1, const string &cs2);
|
|
|
16 |
|
14 |
extern bool maketmpdir(string& tdir);
|
17 |
extern bool maketmpdir(string& tdir);
|
15 |
extern string stringlistdisp(const list<string>& strs);
|
18 |
extern string stringlistdisp(const list<string>& strs);
|
16 |
|
19 |
|
17 |
#endif /* _SMALLUT_H_INCLUDED_ */
|
20 |
#endif /* _SMALLUT_H_INCLUDED_ */
|