[CRIU] [PATCH]v1 criu: Initial skeleton for criu library

Kупреев Руслан kupruser at gmail.com
Thu Jul 18 08:27:09 EDT 2013


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?



More information about the CRIU mailing list