diff options
author | Pierre Joye <pajoye@php.net> | 2008-05-21 09:27:41 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-05-21 09:27:41 +0000 |
commit | b734bf4b97f9203eb7a7a6a7ef24286f2272bd08 (patch) | |
tree | a361418bf40dfa23ac4d33ba3eae99c987f1ddae /ext/zip/lib/zip_source_zip.c | |
parent | 3681756cfb6d66c35f532f890160a1d56601e96c (diff) | |
download | php-git-b734bf4b97f9203eb7a7a6a7ef24286f2272bd08.tar.gz |
- sync with PECL HEAD
Diffstat (limited to 'ext/zip/lib/zip_source_zip.c')
-rw-r--r-- | ext/zip/lib/zip_source_zip.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/zip/lib/zip_source_zip.c b/ext/zip/lib/zip_source_zip.c index 75e6564021..bf166b3519 100644 --- a/ext/zip/lib/zip_source_zip.c +++ b/ext/zip/lib/zip_source_zip.c @@ -1,11 +1,9 @@ /* - $NiH: zip_source_zip.c,v 1.7 2006/02/21 09:41:00 dillo Exp $ - zip_source_zip.c -- create data source from zip file - Copyright (C) 1999, 2003, 2004, 2005 Dieter Baron and Thomas Klausner + Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner This file is part of libzip, a library to manipulate ZIP archives. - The authors can be contacted at <nih@giga.or.at> + The authors can be contacted at <libzip@nih.at> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -38,7 +36,6 @@ #include <stdlib.h> #include <string.h> -#include "zip.h" #include "zipint.h" struct read_zip { @@ -52,7 +49,7 @@ static ssize_t read_zip(void *st, void *data, size_t len, -PHPZIPAPI struct zip_source * +ZIP_EXTERN(struct zip_source *) zip_source_zip(struct zip *za, struct zip *srcza, int srcidx, int flags, off_t start, off_t len) { |