[CRIU] [PATCH] libcriu: add ability to use local options structure

Pavel Emelyanov xemul at parallels.com
Mon Jul 13 04:55:25 PDT 2015


On 07/01/2015 06:33 PM, Tycho Andersen wrote:
> On Wed, Jul 01, 2015 at 09:27:09AM +0300, Ruslan Kuprieiev wrote:
>> Having ability to have your own options structure is quite nice
>> and allows much more flexible use of libcriu in cases when you
>> want to have a bunch of instances of options structures.
>>
>> This patch also allows users to use raw CriuOpts structure
>> modified in any suitable way, whether by libcriu's criu_local_set
>> methods or by using protobuf-c directly.
>>
>> It is also worth noting, that backward-compatibility in API and ABI
>> is preserved.
>>
>> Signed-off-by: Ruslan Kuprieiev <rkuprieiev at cloudlinux.com>
> 
> It might be nice to export a typedef to void*, but that's mostly
> cosmetic. In any case:
> 
> Acked-by: Tycho Andersen <tycho.andersen at canonical.com>

Applied, thanks.

And yes, having an opaque typedef for opts would be nice :)



More information about the CRIU mailing list