summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-11-04 17:18:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-11-04 17:18:33 +0100
commit92af12daac8a33db8be0b33335bd79330ced9463 (patch)
tree32416d5ef4b5f96d09905d40c076a368fd275097 /tools.h
parent903e929a85945567e9433b93f03567fe2f3b98fc (diff)
downloadvdr-92af12daac8a33db8be0b33335bd79330ced9463.tar.gz
vdr-92af12daac8a33db8be0b33335bd79330ced9463.tar.bz2
cReadLine now dynamically allocates its buffer; changed cConfig::Load() to use cReadLine instead of a fixed buffer
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index f348b2e5..cc4c9e30 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.81 2005/10/31 12:54:36 kls Exp $
+ * $Id: tools.h 1.82 2005/11/04 17:05:35 kls Exp $
*/
#ifndef __TOOLS_H
@@ -135,8 +135,11 @@ public:
class cReadLine {
private:
- char buffer[MAXPARSEBUFFER];
+ size_t size;
+ char *buffer;
public:
+ cReadLine(void);
+ ~cReadLine();
char *Read(FILE *f);
};