1ZIP_ERROR_GET(3)         BSD Library Functions Manual         ZIP_ERROR_GET(3)
2

NAME

4     zip_error_get, zip_file_error_get — get error codes for archive or file
5     (obsolete interface)
6

LIBRARY

8     libzip (-lzip)
9

SYNOPSIS

11     #include <zip.h>
12
13     void
14     zip_error_get(zip_t *archive, int *zep, int *sep);
15
16     void
17     zip_file_error_get(zip_file_t *file, int *zep, int *sep);
18

DESCRIPTION

20     The functions zip_error_get() and zip_file_error_get() are deprecated.
21     Use zip_error_code_system(3), zip_error_code_zip(3),
22     zip_file_get_error(3), and zip_get_error(3) instead.
23
24     For zip_error_get(), replace
25
26           int ze, se;
27           zip_error_get(za, &ze, &se);
28     with
29
30           int ze, se;
31           zip_error_t *error = zip_get_error(za);
32           ze = zip_error_code_zip(error);
33           se = zip_error_code_system(error);
34     For zip_file_error_get(), replace
35
36           int ze, se;
37           zip_file_error_get(zf, &ze, &se);
38     with
39
40           int ze, se;
41           zip_error_t *error = zip_file_get_error(zf);
42           ze = zip_error_code_zip(error);
43           se = zip_error_code_system(error);
44

SEE ALSO

46     libzip(3), zip_error_code_system(3), zip_error_code_zip(3),
47     zip_file_get_error(3), zip_get_error(3)
48

HISTORY

50     zip_error_get() was added in libzip 0.6.  It was deprecated in libzip
51     1.0, use zip_get_error(), zip_error_code_zip(), / zip_error_code_system()
52     instead.
53
54     zip_file_error_get() was added in libzip 0.6.  It was deprecated in
55     libzip 1.0, use zip_file_get_error(), zip_error_code_zip(), /
56     zip_error_code_system() instead.
57

AUTHORS

59     Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>
60
61BSD                            December 18, 2017                           BSD
Impressum