2 * This file is part of RRDtool.
4 * RRDtool is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published
6 * by the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * RRDtool is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Foobar; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /*****************************************************************************
20 * RRDtool 1.0.37 Copyright Tobias Oetiker, 1997 - 2000
21 *****************************************************************************
22 * rrd_tool.h Common Header File
23 *****************************************************************************
24 * Id: rrd_tool.h,v 1.1.1.1 2002/02/26 10:21:37 oetiker Exp
26 * Revision 1.1.1.1 2002/02/26 10:21:37 oetiker
29 *****************************************************************************/
37 #include "rrd_format.h"
40 #ifndef isnan /* POSIX */
41 int isnan(double value);
43 #else /* Windows only */
48 void rrd_free(rrd_t *rrd);
49 void rrd_init(rrd_t *rrd);
51 int rrd_open(char *file_name, FILE **in_file, rrd_t *rrd, int rdwr);
52 int readfile(char *file, char **buffer, int skipfirst);
54 #define RRD_READONLY 0
55 #define RRD_READWRITE 1