Re: comment on API for saving and restoring luks header.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/18/2012 11:19 PM, .. ink .. wrote:
> 
> /**
>  * Backup header and keyslots to file
>  *
>  * @param cd crypt device handle
>  * @param requested_type type of header to backup
>  * @param backup_file file to backup header to
>  *
>  * @return @e 0 on success or negative errno value otherwise.
>  *
>  */
> 
> The above is a comments on options for "crypt_header_backup" and "crypt_header_restore".
> 
> The comment does not have "use @e NULL for all known" explanation for the second argument.
> 
> Should i assume this is an oversight and use "NULL" for the second argument?

The only format currently supporting this is LUKS anyway, but NULL is supported.

Better now?
http://wiki.cryptsetup.googlecode.com/git/API/libcryptsetup_8h.html#a0bba6108652c028e6e72e933a3a5de05

Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux