Merge pull request #344 from RangelReale/htmlformcontentlength

HTMLForm Content-Length calculation
This commit is contained in:
Aleksandar Fabijanic
2014-05-21 22:27:12 -05:00
12 changed files with 164 additions and 5 deletions

View File

@@ -69,6 +69,15 @@ public:
int getCurrentLineNumber() const;
/// Returns the current line number (same as lines()).
void addChars(int chars);
/// Add to the total number of characters.
void addLines(int lines);
/// Add to the total number of lines.
void addPos(int pos);
/// Add to the number of characters on the current line.
protected:
int readFromDevice();
int writeToDevice(char c);
@@ -124,6 +133,15 @@ public:
int getCurrentLineNumber() const;
/// Returns the current line number (same as lines()).
void addChars(int chars);
/// Add to the total number of characters.
void addLines(int lines);
/// Add to the total number of lines.
void addPos(int pos);
/// Add to the number of characters on the current line.
CountingStreamBuf* rdbuf();
/// Returns a pointer to the underlying streambuf.