diff options
author | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2013-11-07 21:15:36 +0000 |
---|---|---|
committer | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2013-11-07 21:15:36 +0000 |
commit | 8468a9354afda0a8d76d827bd8eaf3b318f92ddd (patch) | |
tree | e6861e765f9f8a625901f7d3afbbb0076c41e03a /src/lib/rrdFile.js | |
parent | 660a4ca8812507512255bd930618463e0790a9dd (diff) |
Add options to RRDFile and RRFileSum, and use thim in the Async classes
Diffstat (limited to 'src/lib/rrdFile.js')
-rw-r--r-- | src/lib/rrdFile.js | 5 |
1 files changed, 4 insertions, 1 deletions
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);
|