X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_client.h;h=58f5473c7cf4d3becefa8dcf6a7792350df35035;hp=6c48dec8e953823e147c66887ca6241b597f7373;hb=refs%2Fheads%2Fff%2Frrdc_fetch;hpb=596355adbe6bbedc736543e7735c2adfeccd7b7e diff --git a/src/rrd_client.h b/src/rrd_client.h index 6c48dec..58f5473 100644 --- a/src/rrd_client.h +++ b/src/rrd_client.h @@ -1,6 +1,6 @@ /** * RRDTool - src/rrd_client.h - * Copyright (C) 2008 Florian octo Forster + * Copyright (C) 2008-2010 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -66,6 +66,14 @@ int rrdc_update (const char *filename, int values_num, int rrdc_flush (const char *filename); int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename); +int rrdc_fetch (const char *filename, + const char *cf, + time_t *ret_start, time_t *ret_end, + unsigned long *ret_step, + unsigned long *ret_ds_num, + char ***ret_ds_names, + rrd_value_t **ret_data); + #else # define rrdc_flush_if_daemon(a,b) 0 # define rrdc_connect(a) 0