Blame doc/text/archive_write_set_passphrase.3.txt
|
Packit Service |
1d0348 |
ARCHIVE_WRITE_SET_PAS... BSD Library Functions Manual ARCHIVE_WRITE_SET_PAS...
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
NAME
|
|
Packit Service |
1d0348 |
archive_write_set_passphrase, archive_write_set_passphrase_callback —
|
|
Packit Service |
1d0348 |
functions for writing 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_write_set_passphrase(struct archive *, const char *passphrase);
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
int
|
|
Packit Service |
1d0348 |
archive_write_set_passphrase_callback(struct archive *,
|
|
Packit Service |
1d0348 |
void *client_data, archive_passphrase_callback *);
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
DESCRIPTION
|
|
Packit Service |
1d0348 |
archive_write_set_passphrase()
|
|
Packit Service |
1d0348 |
Set a passphrase for writing 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_write_set_passphrase_callback()
|
|
Packit Service |
1d0348 |
Register callback function that will be invoked to get a
|
|
Packit Service |
1d0348 |
passphrase for encrption if the passphrase was not set by the
|
|
Packit Service |
1d0348 |
archive_write_set_passphrase() function.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
SEE ALSO
|
|
Packit Service |
1d0348 |
tar(1), libarchive(3), archive_write(3), archive_write_set_options(3)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
BSD September 21, 2014 BSD
|