From a4f02441390d77ae68dc59ea5cce59429cad4934 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Wed, 3 Aug 2011 14:23:38 -0700 Subject: [PATCH] Reorganize header, move objects under the appropriate source file Part of kernel oops integration to corewatcher. Signed-off-by: William Douglas --- src/corewatcher.h | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/src/corewatcher.h b/src/corewatcher.h index 80b910c..b836746 100644 --- a/src/corewatcher.h +++ b/src/corewatcher.h @@ -78,36 +78,30 @@ extern int scan_dmesg(void * unused); extern char *strip_directories(char *fullpath); extern char *get_core_filename(char *filename, char *ext); extern void remove_pid_from_hash(char *fullpath, GHashTable *ht); +extern int uid; +extern int sig; /* configfile.c */ extern void read_config_file(char *filename); - -/* corewatcher.c */ -extern void dbus_ask_permission(char *fullpath, char *appfile); -extern void dbus_say_thanks(char *url); -extern void dbus_say_found(char *fullpath, char *appfile); - -/* find_file.c */ -extern char *find_executable(char *fragment); -extern char *find_coredump(char *fullpath); - -/* config data */ extern int opted_in; extern int allow_distro_to_pass_on; extern char *submit_url[MAX_URLS]; -extern int url_count; -extern int do_unlink; extern char *build_release; extern char *core_folder; +extern int url_count; +extern int do_unlink; extern int private_report; -extern int testmode; +/* corewatcher.c */ +extern void dbus_ask_permission(char *fullpath, char *appfile); +extern void dbus_say_thanks(char *url); +extern void dbus_say_found(char *fullpath, char *appfile); +extern int testmode; extern int pinged; - extern struct core_status core_status; -extern int uid; -extern int sig; - +/* find_file.c */ +extern char *find_executable(char *fragment); +extern char *find_coredump(char *fullpath); #endif -- 2.7.4