From e16dc4d89049b94d270f46a1b6de194863a7a583 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 4 Sep 2009 19:02:28 +0200 Subject: typedef cleanup. no code changes Signed-off-by: Denys Vlasenko --- inc/CrashTypes.h | 4 ++-- inc/abrt_types.h | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'inc') diff --git a/inc/CrashTypes.h b/inc/CrashTypes.h index e5001f69..5149fb53 100644 --- a/inc/CrashTypes.h +++ b/inc/CrashTypes.h @@ -39,11 +39,11 @@ // currently, vector always has exactly 3 elements -> // -typedef std::map map_crash_data_t; +typedef map_vector_string_t map_crash_data_t; typedef map_crash_data_t map_crash_info_t; -typedef std::vector vector_crash_infos_t; typedef map_crash_data_t map_crash_report_t; +typedef std::vector vector_crash_infos_t; inline void add_crash_data_to_crash_info(map_crash_info_t& pCrashInfo, const std::string& pItem, diff --git a/inc/abrt_types.h b/inc/abrt_types.h index 3ac31bc6..1fbb701a 100644 --- a/inc/abrt_types.h +++ b/inc/abrt_types.h @@ -25,17 +25,19 @@ #include #include -typedef std::vector vector_strings_t; -typedef std::set set_strings_t; +typedef std::vector vector_string_t; +typedef std::set set_string_t; typedef std::pair pair_string_string_t; typedef std::map map_string_t; typedef std::vector vector_pair_string_string_t; typedef std::vector vector_map_string_t; +typedef std::map map_map_string_t; +typedef std::map map_vector_string_t; typedef std::map map_vector_pair_string_string_t; /* Report() method return type */ -typedef std::map report_status_t; +typedef map_vector_string_t report_status_t; /* Holds result of .conf file section parsing: map["name"] = "value" */ typedef map_string_t map_plugin_settings_t; -- cgit