00001 /* libradar_stp 00002 * <http://www.k9nl.net/radar/> <radar@k9nl.net> 00003 * 00004 * bzip2if.h - libbz2 interface 00005 * 00006 * THIS FILE IS NOT MEANT FOR LIBRARY CLIENT USE 00007 * It is included in case it's helpful 00008 * 00009 * Copyright (C) 2007 Nicholas J. Luther 00010 * 00011 * This program is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU General Public License, 00013 * version 2, as published by the Free Software Foundation. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00023 * You may contact the author by writing to Nick Luther, 1655 South 00024 * Westhaven Drive, Oshkosh, Wisconsin 54904, USA. 00025 * 00026 */ 00027 00028 00029 00030 #ifndef _LIBRSTP_INC_BZIP2IF_H 00031 #define _LIBRSTP_INC_BZIP2IF_H 00032 00033 #include <string> 00034 00035 namespace libradar_stp { 00036 00037 std::string decompress ( std::string input ); 00038 std::string compress ( std::string data, int level = 9, int workfactor = 250 ); 00039 00040 }; // namespace libradar_stp 00041 00042 #endif 00043
1.4.7