summaryrefslogtreecommitdiffstats
path: root/rpc/block.x
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/block.x')
-rw-r--r--rpc/block.x12
1 files changed, 12 insertions, 0 deletions
diff --git a/rpc/block.x b/rpc/block.x
new file mode 100644
index 0000000..c88fdf2
--- /dev/null
+++ b/rpc/block.x
@@ -0,0 +1,12 @@
+
+
+struct blockTrans {
+ int exit; /* exit code of the command */
+ string out<>; /* stdout of the command */
+};
+
+program GLUSTER_BLOCK {
+ version GLUSTER_BLOCK_VERS {
+ blockTrans BLOCK_EXEC(string) = 1;
+ } = 1;
+} = 21215311; /* B2 L12 O15 C3 K11 */