summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-02-07 16:03:50 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-02-07 16:03:50 +0100
commit34fc227339ccd23b30973ea4684fcb6fb408635e (patch)
treec47ba01ecdc6e0e2ab5fc38c5eb07c4d6deeeedd /src/Daemon/MiddleWare.h
parent985908c6b086b83381eccd95a0a6508c8bf1d731 (diff)
parent1e76e071620e1f9bf110dacf3cf8caffccef324b (diff)
downloadabrt-34fc227339ccd23b30973ea4684fcb6fb408635e.tar.gz
abrt-34fc227339ccd23b30973ea4684fcb6fb408635e.tar.xz
abrt-34fc227339ccd23b30973ea4684fcb6fb408635e.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Daemon/MiddleWare.h')
-rw-r--r--src/Daemon/MiddleWare.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Daemon/MiddleWare.h b/src/Daemon/MiddleWare.h
index 71d17f35..aa37e3ed 100644
--- a/src/Daemon/MiddleWare.h
+++ b/src/Daemon/MiddleWare.h
@@ -37,7 +37,7 @@ typedef enum {
MW_PACKAGE_ERROR, /**< Cannot determine package name.*/
MW_GPG_ERROR, /**< Package is not signed properly.*/
MW_REPORTED, /**< Crash is already reported.*/
- MW_OCCURED, /**< Crash occurred in the past, but it is not reported yet.*/
+ MW_OCCURRED, /**< Crash occurred in the past, but it is not reported yet.*/
MW_IN_DB, /**< Debugdump directory is already saved in a database.*/
MW_IN_DB_ERROR, /**< Error while working with a database.*/
MW_PLUGIN_ERROR, /**< plugin wasn't found or error within plugin*/
@@ -105,8 +105,11 @@ report_status_t Report(const map_crash_data_t& pCrashData,
std::string getDebugDumpDir( const char *pUUID,
const char *pUID);
/**
- * Saves debugdump into database. If saving is successful,
- * it fills crash info.
+ * Adds package name and description to debugdump dir.
+ * Saves debugdump into database.
+ * Detects whether it's a duplicate crash.
+ * Fills crash info.
+ * Note that if it's a dup, loads _first crash_ info, not this one's.
* @param pDebugDumpDir A debugdump directory.
* @param pCrashData A crash info.
* @return It return results of operation. See mw_result_t.