Blame doc/wiki/ManPageArchiveWriteSetPassphrase3.wiki
|
Packit Service |
1d0348 |
ARCHIVE_WRITE_SET_PASSPHRASE(3) manual page
|
|
Packit Service |
1d0348 |
== NAME ==
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase''',
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase_callback'''
|
|
Packit Service |
1d0348 |
- functions for writing encrypted archives
|
|
Packit Service |
1d0348 |
== LIBRARY ==
|
|
Packit Service |
1d0348 |
Streaming Archive Library (libarchive, -larchive)
|
|
Packit Service |
1d0348 |
== SYNOPSIS ==
|
|
Packit Service |
1d0348 |
'''<nowiki>#include <archive.h></nowiki>'''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase'''(''struct archive *'', ''const char *passphrase'');
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
''int''
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase_callback'''(''struct archive *'', ''void *client_data'', ''archive_passphrase_callback *'');
|
|
Packit Service |
1d0348 |
== DESCRIPTION ==
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase'''()
|
|
Packit Service |
1d0348 |
Set a passphrase for writing an encryption archive.
|
|
Packit Service |
1d0348 |
If
|
|
Packit Service |
1d0348 |
''passphrase''
|
|
Packit Service |
1d0348 |
is
|
|
Packit Service |
1d0348 |
NULL
|
|
Packit Service |
1d0348 |
or empty, this function will do nothing and
|
|
Packit Service |
1d0348 |
'''ARCHIVE_FAILED'''
|
|
Packit Service |
1d0348 |
will be returned.
|
|
Packit Service |
1d0348 |
Otherwise,
|
|
Packit Service |
1d0348 |
'''ARCHIVE_OK'''
|
|
Packit Service |
1d0348 |
will be returned.
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase_callback'''()
|
|
Packit Service |
1d0348 |
Register callback function that will be invoked to get a passphrase
|
|
Packit Service |
1d0348 |
for encrption if the passphrase was not set by the
|
|
Packit Service |
1d0348 |
'''archive_write_set_passphrase'''()
|
|
Packit Service |
1d0348 |
function.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
== SEE ALSO ==
|
|
Packit Service |
1d0348 |
[[ManPageBsdtar1]],
|
|
Packit Service |
1d0348 |
[[ManPageibarchive3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiverite3]],
|
|
Packit Service |
1d0348 |
[[ManPagerchiveriteetptions3]]
|