| .TH "ZIP_SOURCE_FILEP" "3" "December 29, 2016" "NiH" "Library Functions Manual" |
| \- create data source from FILE * |
| \fBzip_source_filep\fR(\fIzip_t\ *archive\fR, \fIFILE\ *file\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); |
| \fBzip_source_filep_create\fR(\fIFILE\ *file\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); |
| \fBzip_source_filep_create\fR() |
| create a zip source from a file stream. |
| from the open file stream |
| is 0 or \-1, the whole file (starting from |
| If the file stream supports seeking, the source can be used to open |
| a read-only zip archive from. |
| The file stream is closed when the source is being freed, usually |
| Upon successful completion, the created source is returned. |
| is returned and the error code in |
| is set to indicate the error. |
| Required memory could not be allocated. |
| Dieter Baron <\fIdillo@nih.at\fR> |
| Thomas Klausner <\fItk@giga.or.at\fR> |