From 8468a9354afda0a8d76d827bd8eaf3b318f92ddd Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Thu, 7 Nov 2013 21:15:36 +0000 Subject: Add options to RRDFile and RRFileSum, and use thim in the Async classes --- src/lib/rrdFile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/rrdFile.js') diff --git a/src/lib/rrdFile.js b/src/lib/rrdFile.js index 35a892b..eabebc7 100644 --- a/src/lib/rrdFile.js +++ b/src/lib/rrdFile.js @@ -389,7 +389,10 @@ RRDHeader.prototype.getRRAInfo = function(idx) { // // Arguments: // bf must be an object compatible with the BinaryFile interface -function RRDFile(bf) { +// file_options - currently no semantics... introduced for future expandability +function RRDFile(bf,file_options) { + this.file_options=file_options; + var rrd_data=bf this.rrd_header=new RRDHeader(rrd_data); -- cgit v1.2.3-54-g00ecf