diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:11:13 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 15:11:13 +0000 |
commit | 7dc85393789f529c0ca2efff79c0242f4ec4db87 (patch) | |
tree | d021be7ecf23ddd19d40e7e954a08e8b1dfe44b8 /plzip.h | |
parent | Adding debian version 0.2-1. (diff) | |
download | plzip-7dc85393789f529c0ca2efff79c0242f4ec4db87.tar.xz plzip-7dc85393789f529c0ca2efff79c0242f4ec4db87.zip |
Merging upstream version 0.3.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | plzip.h | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -16,17 +16,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -struct Muxer_arg - { - int dictionary_size; - int match_len_limit; - int num_workers; - int num_slots; - int debug_level; - int infd; - int outfd; - }; - -void * muxer( void * arg ); +int compress( const int data_size, const int dictionary_size, + const int match_len_limit, const int num_workers, + const int num_slots, const int infd, const int outfd, + const int debug_level ); + + +/*----------------------- Defined in main.cc -----------------------*/ + +void show_error( const char * msg, const int errcode = 0, const bool help = false ) throw(); +int readblock( const int fd, uint8_t * buf, const int size ) throw(); +int writeblock( const int fd, const uint8_t * buf, const int size ) throw(); + + +void fatal(); // Terminate the process extern int verbosity; |