summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-11-10 00:10:22 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-11-10 00:10:22 +0100
commit9d2cb4518c3a8a72ccc714ddbc131aaa84506092 (patch)
treee21efa47e3ed2e2f911c87fad8d0d992f236124a /inc
parentd1c6a4329284a1daba12a7e0fbd743a90cb0d884 (diff)
downloadabrt-9d2cb4518c3a8a72ccc714ddbc131aaa84506092.tar.gz
abrt-9d2cb4518c3a8a72ccc714ddbc131aaa84506092.tar.xz
abrt-9d2cb4518c3a8a72ccc714ddbc131aaa84506092.zip
Decouple settings handling from old-style plugins
The breakage was discovered when i removed Logger class. it turned out the fix is somewhat involved. This change implements it as discussed with the rest of the team. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h2
-rw-r--r--inc/plugin.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index a665b10f..4d565644 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -93,6 +93,8 @@ char *concat_path_file(const char *path, const char *filename);
char *append_to_malloced_string(char *mstr, const char *append);
char* skip_whitespace(const char *s);
char* skip_non_whitespace(const char *s);
+/* Like strcpy but can copy overlapping strings. */
+void overlapping_strcpy(char *dst, const char *src);
/* A-la fgets, but malloced and of unlimited size */
char *xmalloc_fgets(FILE *file);
diff --git a/inc/plugin.h b/inc/plugin.h
index a22d0f67..e0f45b6c 100644
--- a/inc/plugin.h
+++ b/inc/plugin.h
@@ -63,7 +63,8 @@ class CPlugin
* A method, which return current settings. It is not mandatory method.
* @return Plugin's settings
*/
- virtual const map_plugin_settings_t& GetSettings();
+///
+// virtual const map_plugin_settings_t& GetSettings();
};
/**