-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Low level bindings to libzip. -- -- This package provides low-level bindings to libzip library. For -- higher-level interface please use LibZip package: -- http://hackage.haskell.org/package/LibZip @package bindings-libzip @version 0.1 -- | This module provides automatic low-level bindings to libzip -- library. See also: -- -- -- -- Higher-level interface is provided by a separate LibZip package: -- -- module Bindings.LibZip data C'zip C'zip :: C'zip data C'zip_file C'zip_file :: C'zip_file data C'zip_source C'zip_source :: C'zip_source c'ZIP_CREATE :: (Num a) => a c'ZIP_EXCL :: (Num a) => a c'ZIP_CHECKCONS :: (Num a) => a c'ZIP_FL_NOCASE :: (Num a) => a c'ZIP_FL_NODIR :: (Num a) => a c'ZIP_FL_COMPRESSED :: (Num a) => a c'ZIP_FL_UNCHANGED :: (Num a) => a c'ZIP_FL_RECOMPRESS :: (Num a) => a c'ZIP_AFL_TORRENT :: (Num a) => a c'ZIP_ER_OK :: (Num a) => a c'ZIP_ER_MULTIDISK :: (Num a) => a c'ZIP_ER_RENAME :: (Num a) => a c'ZIP_ER_CLOSE :: (Num a) => a c'ZIP_ER_SEEK :: (Num a) => a c'ZIP_ER_READ :: (Num a) => a c'ZIP_ER_WRITE :: (Num a) => a c'ZIP_ER_CRC :: (Num a) => a c'ZIP_ER_ZIPCLOSED :: (Num a) => a c'ZIP_ER_NOENT :: (Num a) => a c'ZIP_ER_EXISTS :: (Num a) => a c'ZIP_ER_OPEN :: (Num a) => a c'ZIP_ER_TMPOPEN :: (Num a) => a c'ZIP_ER_ZLIB :: (Num a) => a c'ZIP_ER_MEMORY :: (Num a) => a c'ZIP_ER_CHANGED :: (Num a) => a c'ZIP_ER_COMPNOTSUPP :: (Num a) => a c'ZIP_ER_EOF :: (Num a) => a c'ZIP_ER_INVAL :: (Num a) => a c'ZIP_ER_NOZIP :: (Num a) => a c'ZIP_ER_INTERNAL :: (Num a) => a c'ZIP_ER_INCONS :: (Num a) => a c'ZIP_ER_REMOVE :: (Num a) => a c'ZIP_ER_DELETED :: (Num a) => a c'ZIP_ET_NONE :: (Num a) => a c'ZIP_ET_SYS :: (Num a) => a c'ZIP_ET_ZLIB :: (Num a) => a c'ZIP_CM_DEFAULT :: (Num a) => a c'ZIP_CM_STORE :: (Num a) => a c'ZIP_CM_SHRINK :: (Num a) => a c'ZIP_CM_REDUCE_1 :: (Num a) => a c'ZIP_CM_REDUCE_2 :: (Num a) => a c'ZIP_CM_REDUCE_3 :: (Num a) => a c'ZIP_CM_REDUCE_4 :: (Num a) => a c'ZIP_CM_IMPLODE :: (Num a) => a c'ZIP_CM_DEFLATE :: (Num a) => a c'ZIP_CM_DEFLATE64 :: (Num a) => a c'ZIP_CM_PKWARE_IMPLODE :: (Num a) => a c'ZIP_CM_BZIP2 :: (Num a) => a c'ZIP_CM_LZMA :: (Num a) => a c'ZIP_CM_TERSE :: (Num a) => a c'ZIP_CM_LZ77 :: (Num a) => a c'ZIP_CM_WAVPACK :: (Num a) => a c'ZIP_CM_PPMD :: (Num a) => a c'ZIP_EM_NONE :: (Num a) => a c'ZIP_EM_TRAD_PKWARE :: (Num a) => a c'ZIP_EM_UNKNOWN :: (Num a) => a type C'zip_source_cmd = CUInt c'ZIP_SOURCE_OPEN :: (Num a) => a c'ZIP_SOURCE_READ :: (Num a) => a c'ZIP_SOURCE_CLOSE :: (Num a) => a c'ZIP_SOURCE_STAT :: (Num a) => a c'ZIP_SOURCE_ERROR :: (Num a) => a c'ZIP_SOURCE_FREE :: (Num a) => a type C'zip_source_callback = FunPtr (Ptr () -> Ptr () -> CSize -> C'zip_source_cmd -> IO CSize) mk'zip_source_callback :: (Ptr () -> Ptr () -> CSize -> C'zip_source_cmd -> IO CSize) -> IO C'zip_source_callback data C'time_t C'time_t :: C'time_t mK'zip_source_callback :: C'zip_source_callback -> (Ptr () -> Ptr () -> CSize -> C'zip_source_cmd -> IO CSize) data C'zip_stat C'zip_stat :: Ptr CChar -> CInt -> CUInt -> CTime -> CSize -> CSize -> CUShort -> CUShort -> C'zip_stat c'zip_stat'name :: C'zip_stat -> Ptr CChar c'zip_stat'index :: C'zip_stat -> CInt c'zip_stat'crc :: C'zip_stat -> CUInt c'zip_stat'mtime :: C'zip_stat -> CTime c'zip_stat'size :: C'zip_stat -> CSize c'zip_stat'comp_size :: C'zip_stat -> CSize c'zip_stat'comp_method :: C'zip_stat -> CUShort c'zip_stat'encryption_method :: C'zip_stat -> CUShort c'zip_add :: Ptr C'zip -> CString -> Ptr C'zip_source -> IO CInt p'zip_add :: FunPtr (Ptr C'zip -> CString -> Ptr C'zip_source -> IO CInt) c'zip_add_dir :: Ptr C'zip -> CString -> IO CInt p'zip_add_dir :: FunPtr (Ptr C'zip -> CString -> IO CInt) c'zip_close :: Ptr C'zip -> IO CInt p'zip_close :: FunPtr (Ptr C'zip -> IO CInt) c'zip_delete :: Ptr C'zip -> CInt -> IO CInt p'zip_delete :: FunPtr (Ptr C'zip -> CInt -> IO CInt) c'zip_error_clear :: Ptr C'zip -> IO () p'zip_error_clear :: FunPtr (Ptr C'zip -> IO ()) c'zip_error_get :: Ptr C'zip -> Ptr CInt -> Ptr CInt -> IO () p'zip_error_get :: FunPtr (Ptr C'zip -> Ptr CInt -> Ptr CInt -> IO ()) c'zip_error_get_sys_type :: CInt -> IO CInt p'zip_error_get_sys_type :: FunPtr (CInt -> IO CInt) c'zip_error_to_str :: Ptr Char -> CSize -> CInt -> CInt -> IO CInt p'zip_error_to_str :: FunPtr (Ptr Char -> CSize -> CInt -> CInt -> IO CInt) c'zip_fclose :: Ptr C'zip_file -> IO CInt p'zip_fclose :: FunPtr (Ptr C'zip_file -> IO CInt) c'zip_file_error_clear :: Ptr C'zip_file -> IO () p'zip_file_error_clear :: FunPtr (Ptr C'zip_file -> IO ()) c'zip_file_error_get :: Ptr C'zip_file -> Ptr CInt -> Ptr CInt -> IO () p'zip_file_error_get :: FunPtr (Ptr C'zip_file -> Ptr CInt -> Ptr CInt -> IO ()) c'zip_file_strerror :: Ptr C'zip_file -> IO CString p'zip_file_strerror :: FunPtr (Ptr C'zip_file -> IO CString) c'zip_fopen :: Ptr C'zip -> CString -> CInt -> IO (Ptr C'zip_file) p'zip_fopen :: FunPtr (Ptr C'zip -> CString -> CInt -> IO (Ptr C'zip_file)) c'zip_fopen_index :: Ptr C'zip -> CInt -> CInt -> IO (Ptr C'zip_file) p'zip_fopen_index :: FunPtr (Ptr C'zip -> CInt -> CInt -> IO (Ptr C'zip_file)) c'zip_fread :: Ptr C'zip_file -> Ptr () -> CSize -> IO CSize p'zip_fread :: FunPtr (Ptr C'zip_file -> Ptr () -> CSize -> IO CSize) c'zip_get_archive_comment :: Ptr C'zip -> Ptr CInt -> CInt -> IO CString p'zip_get_archive_comment :: FunPtr (Ptr C'zip -> Ptr CInt -> CInt -> IO CString) c'zip_get_archive_flag :: Ptr C'zip -> CInt -> CInt -> IO CInt p'zip_get_archive_flag :: FunPtr (Ptr C'zip -> CInt -> CInt -> IO CInt) c'zip_get_file_comment :: Ptr C'zip -> CInt -> Ptr CInt -> CInt -> IO CString p'zip_get_file_comment :: FunPtr (Ptr C'zip -> CInt -> Ptr CInt -> CInt -> IO CString) c'zip_get_name :: Ptr C'zip -> CInt -> CInt -> IO CString p'zip_get_name :: FunPtr (Ptr C'zip -> CInt -> CInt -> IO CString) c'zip_get_num_files :: Ptr C'zip -> IO CInt p'zip_get_num_files :: FunPtr (Ptr C'zip -> IO CInt) c'zip_name_locate :: Ptr C'zip -> CString -> CInt -> IO CInt p'zip_name_locate :: FunPtr (Ptr C'zip -> CString -> CInt -> IO CInt) c'zip_open :: CString -> CInt -> Ptr CInt -> IO (Ptr C'zip) p'zip_open :: FunPtr (CString -> CInt -> Ptr CInt -> IO (Ptr C'zip)) c'zip_rename :: Ptr C'zip -> CInt -> CString -> IO CInt p'zip_rename :: FunPtr (Ptr C'zip -> CInt -> CString -> IO CInt) c'zip_replace :: Ptr C'zip -> CInt -> Ptr C'zip_source -> IO CInt p'zip_replace :: FunPtr (Ptr C'zip -> CInt -> Ptr C'zip_source -> IO CInt) c'zip_set_archive_comment :: Ptr C'zip -> CString -> CInt -> IO CInt p'zip_set_archive_comment :: FunPtr (Ptr C'zip -> CString -> CInt -> IO CInt) c'zip_set_archive_flag :: Ptr C'zip -> CInt -> CInt -> IO CInt p'zip_set_archive_flag :: FunPtr (Ptr C'zip -> CInt -> CInt -> IO CInt) c'zip_set_file_comment :: Ptr C'zip -> CInt -> CString -> CInt -> IO CInt p'zip_set_file_comment :: FunPtr (Ptr C'zip -> CInt -> CString -> CInt -> IO CInt) c'zip_source_buffer :: Ptr C'zip -> Ptr () -> CSize -> CInt -> IO (Ptr C'zip_source) p'zip_source_buffer :: FunPtr (Ptr C'zip -> Ptr () -> CSize -> CInt -> IO (Ptr C'zip_source)) c'zip_source_file :: Ptr C'zip -> CString -> CSize -> CSize -> IO (Ptr C'zip_source) p'zip_source_file :: FunPtr (Ptr C'zip -> CString -> CSize -> CSize -> IO (Ptr C'zip_source)) c'zip_source_filep :: Ptr C'zip -> Ptr CFile -> CSize -> CSize -> IO (Ptr C'zip_source) p'zip_source_filep :: FunPtr (Ptr C'zip -> Ptr CFile -> CSize -> CSize -> IO (Ptr C'zip_source)) c'zip_source_free :: Ptr C'zip_source -> IO () p'zip_source_free :: FunPtr (Ptr C'zip_source -> IO ()) c'zip_source_function :: Ptr C'zip -> C'zip_source_callback -> Ptr () -> IO (Ptr C'zip_source) p'zip_source_function :: FunPtr (Ptr C'zip -> C'zip_source_callback -> Ptr () -> IO (Ptr C'zip_source)) c'zip_source_zip :: Ptr C'zip -> Ptr C'zip -> CInt -> CInt -> CSize -> CSize -> IO (Ptr C'zip_source) p'zip_source_zip :: FunPtr (Ptr C'zip -> Ptr C'zip -> CInt -> CInt -> CSize -> CSize -> IO (Ptr C'zip_source)) c'zip_stat :: Ptr C'zip -> CString -> CInt -> Ptr C'zip_stat -> IO CInt p'zip_stat :: FunPtr (Ptr C'zip -> CString -> CInt -> Ptr C'zip_stat -> IO CInt) c'zip_stat_index :: Ptr C'zip -> CInt -> CInt -> Ptr C'zip_stat -> IO CInt p'zip_stat_index :: FunPtr (Ptr C'zip -> CInt -> CInt -> Ptr C'zip_stat -> IO CInt) c'zip_stat_init :: Ptr C'zip_stat -> IO () p'zip_stat_init :: FunPtr (Ptr C'zip_stat -> IO ()) c'zip_strerror :: Ptr C'zip -> IO CString p'zip_strerror :: FunPtr (Ptr C'zip -> IO CString) c'zip_unchange :: Ptr C'zip -> CInt -> IO CInt p'zip_unchange :: FunPtr (Ptr C'zip -> CInt -> IO CInt) c'zip_unchange_all :: Ptr C'zip -> IO CInt p'zip_unchange_all :: FunPtr (Ptr C'zip -> IO CInt) c'zip_unchange_archive :: Ptr C'zip -> IO CInt p'zip_unchange_archive :: FunPtr (Ptr C'zip -> IO CInt) instance Eq C'zip_stat instance Show C'zip_stat instance Storable C'zip_stat