From: sangorrin Date: Mon, 22 Oct 2007 09:06:59 +0000 (+0000) Subject: unmarshal X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/frsh-include.git/commitdiff_plain/b63baebe52919507a78c11e99db10d8261fe392f unmarshal git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@791 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/frsh_distributed.h b/frsh_distributed.h index e5dfb66..084f3b2 100644 --- a/frsh_distributed.h +++ b/frsh_distributed.h @@ -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); + /*@}*/ //////////////////////////////////////////////////////////////////////