Skip to content

Commit

Permalink
smapiv2: add Query.diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
David Scott committed May 31, 2012
1 parent df7f9f9 commit d6a0d40
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions smapiv2.ml
Expand Up @@ -140,6 +140,17 @@ let api =
description = "The properies of this implementation" description = "The properies of this implementation"
} }
] ]
}; {
Method.name = "diagnostics";
description = "[diagnostics ()]: returns a printable set of backend diagnostic information.";
inputs = [
];
outputs = [
{ Arg.name = "diagnostics";
ty = Type.(Basic String);
description = "A string containing loggable human-readable diagnostics information";
}
];
} }
] ]
}; };
Expand Down Expand Up @@ -509,17 +520,7 @@ let api =
]; ];
outputs = [ outputs = [
]; ];
}; {
Method.name = "diagnostics";
description = "[diagnostics ()]: returns a printable set of diagnostic information, typically including lists of all registered datapaths and their allocated resources.";
inputs = [
];
outputs = [
{ Arg.name = "diagnostics";
ty = Type.(Basic String);
description = "A string containing loggable human-readable diagnostics information";
}
];
} }
] ]
} }
Expand Down

0 comments on commit d6a0d40

Please sign in to comment.