diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-15 19:13:58 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-15 19:13:58 +0200 |
commit | fbe358995978f60ad23ed86e71cfa8ba425b70eb (patch) | |
tree | fc4b490dea0483f493019a78c479f51b42a6d483 /src/Daemon/RPM.h | |
parent | 7b54a461ab5fde77ab74cebddecfb683a8fc504e (diff) | |
download | abrt-fbe358995978f60ad23ed86e71cfa8ba425b70eb.tar.gz abrt-fbe358995978f60ad23ed86e71cfa8ba425b70eb.tar.xz abrt-fbe358995978f60ad23ed86e71cfa8ba425b70eb.zip |
convert a few string& params to char*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/RPM.h')
-rw-r--r-- | src/Daemon/RPM.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Daemon/RPM.h b/src/Daemon/RPM.h index 57f9a97b..67cd4a29 100644 --- a/src/Daemon/RPM.h +++ b/src/Daemon/RPM.h @@ -62,7 +62,7 @@ class CRPM * A method, which checks if package's finger print is valid. * @param pPackage A package name. */ - bool CheckFingerprint(const std::string& pPackage); + bool CheckFingerprint(const char* pPackage); }; /** @@ -70,13 +70,13 @@ class CRPM * @param pPackage A package name. The package contains the application. * @param pPath A path to the application. */ -bool CheckHash(const std::string& pPackage, const std::string& pPath); +bool CheckHash(const char* pPackage, const char* pPath); /** * Gets a package description. * @param pPackage A package name. * @return A package description. */ -std::string GetDescription(const std::string& pPackage); +std::string GetDescription(const char* pPackage); /** * Gets a package name. This package contains particular * file. If the file doesn't belong to any package, empty string is @@ -84,7 +84,7 @@ std::string GetDescription(const std::string& pPackage); * @param pFileName A file name. * @return A package name. */ -std::string GetPackage(const std::string& pFileName); +std::string GetPackage(const char* pFileName); /** * Finds a main package for given file. This package contains particular * file. If the file doesn't belong to any package, empty string is @@ -92,6 +92,6 @@ std::string GetPackage(const std::string& pFileName); * @param pFileName A file name. * @return A package name. */ -std::string GetComponent(const std::string& pFileName); +std::string GetComponent(const char* pFileName); #endif |