projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed PREV parsing ... Gonzalo Augusto Arana Tagle <garana@uolsinectis.com.ar>
[rrdtool.git]
/
src
/
rrd_open.c
diff --git
a/src/rrd_open.c
b/src/rrd_open.c
index
7b546f5
..
c0e6545
100644
(file)
--- a/
src/rrd_open.c
+++ b/
src/rrd_open.c
@@
-1,10
+1,16
@@
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.
0.33 Copyright Tobias Oetiker, 1997 - 2000
+ * RRDtool 1.
1.x Copyright Tobias Oetiker, 1997 - 2002
*****************************************************************************
* rrd_open.c Open an RRD File
*****************************************************************************
* $Id$
* $Log$
*****************************************************************************
* rrd_open.c Open an RRD File
*****************************************************************************
* $Id$
* $Log$
+ * Revision 1.5 2002/06/20 00:21:03 jake
+ * More Win32 build changes; thanks to Kerry Calvert.
+ *
+ * Revision 1.4 2002/02/01 20:34:49 oetiker
+ * fixed version number and date/time
+ *
* Revision 1.3 2001/03/04 13:01:55 oetiker
* Aberrant Behavior Detection support. A brief overview added to rrdtool.pod.
* Major updates to rrd_update.c, rrd_create.c. Minor update to other core files.
* Revision 1.3 2001/03/04 13:01:55 oetiker
* Aberrant Behavior Detection support. A brief overview added to rrdtool.pod.
* Major updates to rrd_update.c, rrd_create.c. Minor update to other core files.
@@
-128,6
+134,14
@@
void rrd_free(rrd_t *rrd)
free(rrd->rrd_value);
}
free(rrd->rrd_value);
}
+/* routine used by external libraries to free memory allocated by
+ * rrd library */
+void rrd_freemem(void *mem)
+{
+
+ free(mem);
+}
+
int readfile(char *file_name, char **buffer, int skipfirst){
long writecnt=0,totalcnt = MEMBLK;
FILE *input=NULL;
int readfile(char *file_name, char **buffer, int skipfirst){
long writecnt=0,totalcnt = MEMBLK;
FILE *input=NULL;