]>
jfr.im git - irc/rizon/znc.git/blob - Server.h
2 * Copyright (C) 2004-2011 See the AUTHORS file for details.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published
6 * by the Free Software Foundation.
12 #include "zncconfig.h"
13 #include "ZNCString.h"
17 CServer(const CString
& sName
, unsigned short uPort
= 6667, const CString
& sPass
= "", bool bSSL
= false);
20 const CString
& GetName() const;
21 unsigned short GetPort() const;
22 const CString
& GetPass() const;
24 CString
GetString(bool bIncludePassword
= true) const;
25 static bool IsValidHostName(const CString
& sHostName
);
29 unsigned short m_uPort
;