[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v2 11/32] RPC: Introduce virNetStreamSkip



This is going to be RPC representation for virStreamSkip.

Signed-off-by: Michal Privoznik <mprivozn redhat com>
---
 src/rpc/virnetprotocol.x   | 4 ++++
 src/virnetprotocol-structs | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/src/rpc/virnetprotocol.x b/src/rpc/virnetprotocol.x
index 9ce33b0..3623588 100644
--- a/src/rpc/virnetprotocol.x
+++ b/src/rpc/virnetprotocol.x
@@ -236,3 +236,7 @@ struct virNetMessageError {
     int int2;
     virNetMessageNetwork net; /* unused */
 };
+
+struct virNetStreamSkip {
+    unsigned hyper length;
+};
diff --git a/src/virnetprotocol-structs b/src/virnetprotocol-structs
index af4526c..a8cc603 100644
--- a/src/virnetprotocol-structs
+++ b/src/virnetprotocol-structs
@@ -42,3 +42,6 @@ struct virNetMessageError {
         int                        int2;
         virNetMessageNetwork       net;
 };
+struct virNetStreamSkip {
+        uint64_t                   length;
+};
-- 
2.8.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]