2008-08-14
* Yvan Phelizot reports a problem in zzip/mmapped.c
+ * Malcom MacLeod had spurious problems inside a C++ project,
+ so let's update all heraders with explicit 'extern "C"' linkage.
2006-08-08
* rephrase build system, automated tests, some doc parts
#include <byteswap.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* get 16/32 bits from little-endian zip-file to host byteorder */
extern uint32_t __zzip_get32(zzip_byte_t * s) __zzip_attribute__((const));
extern uint16_t __zzip_get16(zzip_byte_t * s) __zzip_attribute__((const));
(zzip_disk_entry_data_deflated(__p) && \
zzip_disk_entry_data_comprlevel(__p) == ZZIP_DEFLATED_MIN_COMPR)
+#ifdef __cplusplus
+}
+#endif
#endif
#include <zzip/types.h>
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct zzip_entry ZZIP_ENTRY;
typedef struct zzip_entry_file ZZIP_ENTRY_FILE;
# endif /* __cplusplus */
# endif /* _ZZIP_MEM_ENTRY_PRIVATE */
+#ifdef __cplusplus
+extern "C" {
+}
#endif
#include <zzip/plugin.h>
#include <zzip/stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* this structure cannot be wildly enlarged... (see zzip-zip.c)
*/
ZZIP_DIR* /*depracated*/
zzip_dir_alloc_ext_io (zzip_strings_t* ext, const zzip_plugin_io_t io);
+#ifdef __cplusplus
+}
+#endif
#endif /* _ZZIP_H */
#include <zzip/types.h>
#include <zzip/mmapped.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _zzip_mem_disk ZZIP_MEM_DISK;
typedef struct _zzip_mem_entry ZZIP_MEM_ENTRY;
/* convert dostime of entry to unix time_t */
long zzip_disk_entry_get_mktime(ZZIP_DISK_ENTRY* entry);
+#ifdef __cplusplus
+}
+#endif
#endif
#include <zzip/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct zzip_disk_file ZZIP_DISK_FILE;
typedef struct zzip_disk ZZIP_DISK;
/* def struct zzip_disk_entry ZZIP_DISK_ENTRY; */
};
#endif
+#ifdef __cplusplus
+}
+#endif
#endif
%define lib lib010
Summary: ZZipLib - libZ-based ZIP-access Library
Name: zziplib
-Version: 0.13.47
+Version: 0.13.48
Release: 1.suse100
Serial: 1
Copyright: LGPL