mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
added delimiter support and fixed an eof bug
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@781 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ public:
|
||||
bool Open(const CString& sFileName, int iFlags, mode_t iMode = 0644);
|
||||
bool Open(int iFlags, mode_t iMode = 0644);
|
||||
int Read(char *pszBuffer, int iBytes);
|
||||
bool ReadLine(CString & sData);
|
||||
bool ReadLine(CString & sData, const CString & sDelimiter = "\n");
|
||||
int Write(const char *pszBuffer, u_int iBytes);
|
||||
int Write(const CString & sData);
|
||||
void Close();
|
||||
|
||||
Reference in New Issue
Block a user