Changeset View
Changeset View
Standalone View
Standalone View
source/ps/Compress.h
Show All 12 Lines | |||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#ifndef INCLUDED_COMPRESS | #ifndef INCLUDED_COMPRESS | ||||
#define INCLUDED_COMPRESS | #define INCLUDED_COMPRESS | ||||
#include <string> | |||||
/** | /** | ||||
* @file | * @file | ||||
* Simple (non-streaming) compression functions. | * Simple (non-streaming) compression functions. | ||||
*/ | */ | ||||
void CompressZLib(const std::string& data, std::string& out, bool includeLengthHeader); | void CompressZLib(const std::string& data, std::string& out, bool includeLengthHeader); | ||||
void DecompressZLib(const std::string& data, std::string& out, bool includeLengthHeader); | void DecompressZLib(const std::string& data, std::string& out, bool includeLengthHeader); | ||||
#endif // INCLUDED_COMPRESS | #endif // INCLUDED_COMPRESS |
Wildfire Games · Phabricator