version 1.1.1.1, 2012/02/21 23:48:05
|
version 1.1.1.2, 2013/07/22 01:32:11
|
Line 1
|
Line 1
|
/* |
/* |
zip_error.c -- struct zip_error helper functions |
zip_error.c -- struct zip_error helper functions |
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner | Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner |
|
|
This file is part of libzip, a library to manipulate ZIP archives. |
This file is part of libzip, a library to manipulate ZIP archives. |
The authors can be contacted at <libzip@nih.at> |
The authors can be contacted at <libzip@nih.at> |
Line 98 _zip_error_set(struct zip_error *err, int ze, int se)
|
Line 98 _zip_error_set(struct zip_error *err, int ze, int se)
|
err->zip_err = ze; |
err->zip_err = ze; |
err->sys_err = se; |
err->sys_err = se; |
} |
} |
|
} |
|
|
|
|
|
|
|
void |
|
_zip_error_set_from_source(struct zip_error *err, struct zip_source *src) |
|
{ |
|
int ze, se; |
|
|
|
zip_source_error(src, &ze, &se); |
|
_zip_error_set(err, ze, se); |
} |
} |