]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
unmarshal
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 22 Oct 2007 09:06:59 +0000 (09:06 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 22 Oct 2007 09:06:59 +0000 (09:06 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@791 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_distributed.h

index e5dfb66fe3ecd18221c6c7da0a20ffd3a575fe2b..084f3b22a9db380ec9f705c8340ee2053eb3f8a1 100644 (file)
@@ -332,6 +332,17 @@ int frsh_contract_marshal(const frsh_contract_t *contract,
                           const size_t          buffer_size,
                           size_t                *size);
 
+/**
+ * frsh_contract_unmarshal
+ *
+ * Convert a sequence of bytes generated by frsh_contract_marshal to a contract
+ *
+ **/
+
+int frsh_contract_unmarshal(frsh_contract_t      *contract,
+                            const unsigned char  *marshal_bytes,
+                            const size_t         size);
+
 /*@}*/
 
 //////////////////////////////////////////////////////////////////////