Blame doc/text/archive_read_add_passphrase.3.txt
|
Packit Service |
1d0348 |
ARCHIVE_READ_ADD_PASS... BSD Library Functions Manual ARCHIVE_READ_ADD_PASS...
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
NAME
|
|
Packit Service |
1d0348 |
archive_read_add_passphrase, archive_read_set_passphrase_callback — func‐
|
|
Packit Service |
1d0348 |
tions for reading encrypted archives
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
LIBRARY
|
|
Packit Service |
1d0348 |
Streaming Archive Library (libarchive, -larchive)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
SYNOPSIS
|
|
Packit Service |
1d0348 |
#include <archive.h>
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
int
|
|
Packit Service |
1d0348 |
archive_read_add_passphrase(struct archive *, const char *passphrase);
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
int
|
|
Packit Service |
1d0348 |
archive_read_set_passphrase_callback(struct archive *, void *client_data,
|
|
Packit Service |
1d0348 |
archive_passphrase_callback *);
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
DESCRIPTION
|
|
Packit Service |
1d0348 |
archive_read_add_passphrase()
|
|
Packit Service |
1d0348 |
Register passphrases for reading an encryption archive. If
|
|
Packit Service |
1d0348 |
passphrase is NULL or empty, this function will do nothing and
|
|
Packit Service |
1d0348 |
ARCHIVE_FAILED will be returned. Otherwise, ARCHIVE_OK will be
|
|
Packit Service |
1d0348 |
returned.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
archive_read_set_passphrase_callback()
|
|
Packit Service |
1d0348 |
Register callback function that will be invoked to get a
|
|
Packit Service |
1d0348 |
passphrase for decrption after trying all passphrases registered
|
|
Packit Service |
1d0348 |
by the archive_read_add_passphrase() function failed.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
SEE ALSO
|
|
Packit Service |
1d0348 |
tar(1), libarchive(3), archive_read(3), archive_read_set_options(3)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
BSD September 14, 2014 BSD
|