added copyright notices --HG-- branch : HEAD
diff --git a/lib/zip.h b/lib/zip.h index 75a9f76..d8779c7 100644 --- a/lib/zip.h +++ b/lib/zip.h
@@ -1,6 +1,30 @@ #ifndef _HAD_ZIP_H #define _HAD_ZIP_H +/* + zip.h -- exported declarations. + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <sys/types.h> #include <stdio.h> #include <zlib.h>
diff --git a/lib/zip_add.c b/lib/zip_add.c index f59e2bf..82439d2 100644 --- a/lib/zip_add.c +++ b/lib/zip_add.c
@@ -1,3 +1,27 @@ +/* + zip_add.c -- add file via callback function + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_add_data.c b/lib/zip_add_data.c index 50715bb..9979172 100644 --- a/lib/zip_add_data.c +++ b/lib/zip_add_data.c
@@ -1,3 +1,27 @@ +/* + zip_add_data.c -- add file from buffer + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_add_file.c b/lib/zip_add_file.c index 29c9d36..2124e91 100644 --- a/lib/zip_add_file.c +++ b/lib/zip_add_file.c
@@ -1,3 +1,27 @@ +/* + zip_add_file.c -- add file from file system + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_add_filep.c b/lib/zip_add_filep.c index 47fbf54..a438554 100644 --- a/lib/zip_add_filep.c +++ b/lib/zip_add_filep.c
@@ -1,3 +1,27 @@ +/* + zip_add_filep.c -- add file from FILE* + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_add_zip.c b/lib/zip_add_zip.c index 772c913..5b67f53 100644 --- a/lib/zip_add_zip.c +++ b/lib/zip_add_zip.c
@@ -1,3 +1,27 @@ +/* + zip_add_zip.c -- add file from zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_close.c b/lib/zip_close.c index 736e6b9..1c23998 100644 --- a/lib/zip_close.c +++ b/lib/zip_close.c
@@ -1,3 +1,27 @@ +/* + zip_close.c -- close zip file and update changes + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdio.h> #include <stdlib.h> #include <string.h>
diff --git a/lib/zip_delete.c b/lib/zip_delete.c index 27608ae..f298c0c 100644 --- a/lib/zip_delete.c +++ b/lib/zip_delete.c
@@ -1,3 +1,27 @@ +/* + zip_delete.c -- delete file from zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_fclose.c b/lib/zip_fclose.c index 9e22d18..3bdbce2 100644 --- a/lib/zip_fclose.c +++ b/lib/zip_fclose.c
@@ -1,3 +1,27 @@ +/* + zip_fclose.c -- close file in zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_fopen.c b/lib/zip_fopen.c index d0e485c..dd574ce 100644 --- a/lib/zip_fopen.c +++ b/lib/zip_fopen.c
@@ -1,3 +1,27 @@ +/* + zip_fopen.c -- open file in zip file for reading + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_fopen_index.c b/lib/zip_fopen_index.c index bcb1c96..127e3e5 100644 --- a/lib/zip_fopen_index.c +++ b/lib/zip_fopen_index.c
@@ -1,3 +1,27 @@ +/* + zip_fopen_index.c -- open file in zip file for reading by index + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdio.h> #include <stdlib.h>
diff --git a/lib/zip_fread.c b/lib/zip_fread.c index 8aec87b..1b3a8ea 100644 --- a/lib/zip_fread.c +++ b/lib/zip_fread.c
@@ -1,3 +1,27 @@ +/* + zip_fread.c -- read from file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_free.c b/lib/zip_free.c index 6070766..09eb844 100644 --- a/lib/zip_free.c +++ b/lib/zip_free.c
@@ -1,3 +1,27 @@ +/* + zip_free.c -- free struct zip + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_free_entry.c b/lib/zip_free_entry.c index 09e59d7..e02a1b9 100644 --- a/lib/zip_free_entry.c +++ b/lib/zip_free_entry.c
@@ -1,3 +1,27 @@ +/* + zip_free_entry.c -- free struct zip_entry + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_free_meta.c b/lib/zip_free_meta.c index df6a9c2..a6fe91d 100644 --- a/lib/zip_free_meta.c +++ b/lib/zip_free_meta.c
@@ -1,3 +1,27 @@ +/* + zip_free_meta.c -- free struct zip_meta + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_get_meta.c b/lib/zip_get_meta.c index ebf19b7..f8ac9be 100644 --- a/lib/zip_get_meta.c +++ b/lib/zip_get_meta.c
@@ -1,3 +1,27 @@ +/* + zip_get_meta.c -- get meta information for file in zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_merge_meta.c b/lib/zip_merge_meta.c index 39bb695..df42f45 100644 --- a/lib/zip_merge_meta.c +++ b/lib/zip_merge_meta.c
@@ -1,3 +1,27 @@ +/* + zip_merge_meta.c -- merge two meta information structures + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_name_locate.c b/lib/zip_name_locate.c index 7e058b7..59e302a 100644 --- a/lib/zip_name_locate.c +++ b/lib/zip_name_locate.c
@@ -1,3 +1,27 @@ +/* + zip_name_locate.c -- get index by name + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <string.h> #include "zip.h"
diff --git a/lib/zip_new.c b/lib/zip_new.c index e4f2c95..1f8863a 100644 --- a/lib/zip_new.c +++ b/lib/zip_new.c
@@ -1,3 +1,27 @@ +/* + zip_new.c -- create and init struct zip + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_new_entry.c b/lib/zip_new_entry.c index 61821d1..93c662b 100644 --- a/lib/zip_new_entry.c +++ b/lib/zip_new_entry.c
@@ -1,3 +1,27 @@ +/* + zip_new_entry.c -- create and init struct zip_entry + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_new_meta.c b/lib/zip_new_meta.c index c5b8838..f9b554e 100644 --- a/lib/zip_new_meta.c +++ b/lib/zip_new_meta.c
@@ -1,3 +1,27 @@ +/* + zip_new_meta.c -- create and init struct zip_meta + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_open.c b/lib/zip_open.c index 1e12709..0ece065 100644 --- a/lib/zip_open.c +++ b/lib/zip_open.c
@@ -1,3 +1,27 @@ +/* + zip_open.c -- open zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdio.h> #include <stdlib.h> #include <string.h>
diff --git a/lib/zip_rename.c b/lib/zip_rename.c index 028f553..9cfea64 100644 --- a/lib/zip_rename.c +++ b/lib/zip_rename.c
@@ -1,3 +1,27 @@ +/* + zip_rename.c -- rename file in zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_replace.c b/lib/zip_replace.c index 2ad50ab..c217386 100644 --- a/lib/zip_replace.c +++ b/lib/zip_replace.c
@@ -1,3 +1,27 @@ +/* + zip_replace.c -- replace file via callback function + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_replace_data.c b/lib/zip_replace_data.c index c75debd..4e80de2 100644 --- a/lib/zip_replace_data.c +++ b/lib/zip_replace_data.c
@@ -1,3 +1,27 @@ +/* + zip_replace_data.c -- replace file from buffer + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_replace_file.c b/lib/zip_replace_file.c index 2082848..83eee08 100644 --- a/lib/zip_replace_file.c +++ b/lib/zip_replace_file.c
@@ -1,3 +1,27 @@ +/* + zip_replace_file.c -- replace file from file system + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_replace_filep.c b/lib/zip_replace_filep.c index 879aa84..2e31900 100644 --- a/lib/zip_replace_filep.c +++ b/lib/zip_replace_filep.c
@@ -1,3 +1,27 @@ +/* + zip_replace_filep.c -- replace file from FILE* + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h"
diff --git a/lib/zip_replace_zip.c b/lib/zip_replace_zip.c index bae17df..6674500 100644 --- a/lib/zip_replace_zip.c +++ b/lib/zip_replace_zip.c
@@ -1,3 +1,27 @@ +/* + zip_replace_zip.c -- replace file from zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_set_name.c b/lib/zip_set_name.c index 3433277..7542d3c 100644 --- a/lib/zip_set_name.c +++ b/lib/zip_set_name.c
@@ -1,3 +1,27 @@ +/* + zip_set_name.c -- rename helper function + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include <string.h> #include "zip.h"
diff --git a/lib/zip_unchange.c b/lib/zip_unchange.c index c415552..0259189 100644 --- a/lib/zip_unchange.c +++ b/lib/zip_unchange.c
@@ -1,3 +1,27 @@ +/* + zip_unchange.c -- undo changes to file in zip file + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zip_unchange_data.c b/lib/zip_unchange_data.c index 4a36697..10a8d37 100644 --- a/lib/zip_unchange_data.c +++ b/lib/zip_unchange_data.c
@@ -1,3 +1,27 @@ +/* + zip_unchange_data.c -- undo helper function + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + #include <stdlib.h> #include "zip.h" #include "zipint.h"
diff --git a/lib/zipint.h b/lib/zipint.h index 3197c75..a9e42da 100644 --- a/lib/zipint.h +++ b/lib/zipint.h
@@ -1,6 +1,29 @@ #ifndef _HAD_ZIPINT_H #define _HAD_ZIPINT_H +/* + zipint.h -- internal declarations. + Copyright (C) 1999 Dieter Baron and Thomas Klaunser + + This file is part of libzip, a library to manipulate ZIP files. + The authors can be contacted at <nih@giga.or.at> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + #define MAXCOMLEN 65536 #define EOCDLEN 22