mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Clean up includes
All the headers are now self-contained (g++ Header.h -o /dev/null). Some system headers where moved to the .cpp they are actually needed in, some of our own headers are includes less. (Especially MD5.h) Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h is the first file included. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -9,40 +9,25 @@
|
||||
#ifndef X_STRING_H
|
||||
#define X_STRING_H
|
||||
|
||||
#ifdef USE_PCRE
|
||||
#include <pcre.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <set>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
using std::set;
|
||||
using std::map;
|
||||
using std::multimap;
|
||||
using std::set;
|
||||
using std::string;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
using std::stringstream;
|
||||
|
||||
|
||||
#define _SQL(s) CString("'" + CString(s).Escape_n(CString::ESQL) + "'")
|
||||
#define _URL(s) CString("'" + CString(s).Escape_n(CString::EURL) + "'")
|
||||
#define _HTML(s) CString("'" + CString(s).Escape_n(CString::EHTML) + "'")
|
||||
|
||||
|
||||
class CString;
|
||||
class MCString;
|
||||
|
||||
typedef set<CString> SCString;
|
||||
typedef vector<CString> VCString;
|
||||
typedef map<CString, VCString> MVCString;
|
||||
typedef vector<MCString> VMCString;
|
||||
typedef multimap<CString, CString> MMCString;
|
||||
|
||||
static const unsigned char XX = 0xff;
|
||||
static const unsigned char base64_table[256] = {
|
||||
|
||||
Reference in New Issue
Block a user