summaryrefslogtreecommitdiff
path: root/epan/filesystem.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-05-01 06:51:14 +0000
committerGuy Harris <guy@alum.mit.edu>2006-05-01 06:51:14 +0000
commit0dfbc73cbedd0d1b88218eb594f88bc98c583faf (patch)
treed89d037d5ac2d66e245060575b23e2f9f8437b3c /epan/filesystem.h
parent56728f40ede189fd4d6fed7e416cb9ec6cda3520 (diff)
downloadwireshark-0dfbc73cbedd0d1b88218eb594f88bc98c583faf.tar.gz
Handle the case where we *can't* determine the pathname in which to find
programs, by reporting it with a dialog box that at least attempts to indicate what the problem is, and by giving up early on running dumpcap. svn path=/trunk/; revision=18051
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r--epan/filesystem.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
index 95c8a96444..650552e9a4 100644
--- a/epan/filesystem.h
+++ b/epan/filesystem.h
@@ -65,9 +65,10 @@ extern int test_for_fifo(const char *);
/*
* Get the pathname of the directory from which the executable came,
- * and save it for future use.
+ * and save it for future use. Returns NULL on success, and a
+ * g_mallocated string containing an error on failure.
*/
-extern void init_progfile_dir(const char *arg0);
+extern char *init_progfile_dir(const char *arg0);
/*
* Get the directory in which the program resides.