[CRIU] [PATCH]v1 criu: Initial skeleton for criu library
Pavel Emelyanov
xemul at parallels.com
Thu Jul 18 08:46:23 EDT 2013
On 07/18/2013 04:27 PM, Kупреев Руслан wrote:
> On 18.07.2013 12:41, Pavel Emelyanov wrote:
>> On 07/17/2013 09:51 PM, Kупреев Руслан wrote:
>>> Hello all!
>>>
>>> I make an initial skeleton for CRIU library. It will be used to add
>>> different useful functionality.
>>>
>> OK, the Makefile part looks good.
>>
>>> diff --git a/lib/criu.c b/lib/criu.c
>>> new file mode 100644
>>> index 0000000..e613c91
>>> --- /dev/null
>>> +++ b/lib/criu.c
>>> @@ -0,0 +1,3 @@
>>> +#include "../include/version.h"
>>> +/*TMPversion is temporary used to avoid -Werror=unused-variable*/
>>> +const char* TMPversion = version;
>> All visible symbols must be preceded with criu_. In particular, this
>> one should have "criu_lib_version" name.
>>
>
> Does criu_lib_version mean that this variable is version of criu
> library? Because var version is version of criu itself. Or it must be
> the same?
libcriu.so will not be linked into criu binary, so there should be
two variables with version -- one in criu, the other one in library --
and we'll have to compare them to one-another to match.
> .
>
More information about the CRIU
mailing list