DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: ".. ink .." <mhogomchungu@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] comment on API for saving and restoring luks header.
Date: Thu, 19 Apr 2012 09:53:01 +0200	[thread overview]
Message-ID: <4F8FC45D.7070706@redhat.com> (raw)
In-Reply-To: <CAFnMBaRZU-cj_brtJOOsYTMZJa_bye+dHc-HfYVFfwMH=Xc-qA@mail.gmail.com>

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

  reply	other threads:[~2012-04-19  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 21:19 [dm-crypt] comment on API for saving and restoring luks header .. ink ..
2012-04-19  7:53 ` Milan Broz [this message]
2012-04-19 10:22   ` .. ink ..

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8FC45D.7070706@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=mhogomchungu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox