00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00009 00010 #ifndef ZYPP_DATA_UTILS_H 00011 #define ZYPP_DATA_UTILS_H 00012 00013 #include "zypp/base/Logger.h" 00014 #include "zypp/base/String.h" 00015 #include "zypp/CheckSum.h" 00016 #include <boost/logic/tribool.hpp> 00017 00019 namespace zypp 00020 { 00021 00022 namespace cache 00023 { 00024 00025 int tribool_to_int( boost::tribool b ); 00026 boost::tribool int_to_tribool( int i ); 00027 std::string checksum_to_string( const CheckSum &checksum ); 00028 CheckSum string_to_checksum( const std::string &checksum ); 00029 00030 } 00031 } 00032 00033 #endif
1.5.3