diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-10-21 21:48:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-10-21 21:48:00 +0000 |
commit | e980dd9d3bfe00047bc454a2a68d590c2deb37ea (patch) | |
tree | 63b6b1f2a27db0a1dcf8e986ed3441c7c3a0a274 /epan/epan.h | |
parent | fa928f62c3b9bf3bd69c6e83747f954d7ba1c7ea (diff) | |
download | wireshark-e980dd9d3bfe00047bc454a2a68d590c2deb37ea.tar.gz wireshark-e980dd9d3bfe00047bc454a2a68d590c2deb37ea.tar.bz2 wireshark-e980dd9d3bfe00047bc454a2a68d590c2deb37ea.zip |
Use G_DIR_SEPARATOR_S rather than "/" as a pathname separator in format
strings used to generate pathnames.
Move the definition of PF_DIR from <epan/epan.h> to <epan/filesystem.h>,
so that files requiring only the definition of PF_DIR don't have to
include <epan/epan.h>, and get rid of no-longer-necessary includes of
<epan/epan.h>.
Add a routine to get the directory for "system files" such as
"/etc/ethers" - it's "/etc" on UNIX, and the datafile directory on
Windows (as there's no "/etc" on Windows). Use that to construct the
pathname of the ethers and ipxnet files.
svn path=/trunk/; revision=4056
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/epan/epan.h b/epan/epan.h index a2d97585f8..a45387ffc5 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -1,6 +1,6 @@ /* epan.h * - * $Id: epan.h,v 1.6 2001/04/02 00:38:34 hagbard Exp $ + * $Id: epan.h,v 1.7 2001/10/21 21:47:58 guy Exp $ * * Ethereal Protocol Analyzer Library * @@ -56,15 +56,4 @@ epan_dissect_new(void* pseudo_header, const guint8* data, frame_data *fd, proto_ void epan_dissect_free(epan_dissect_t* edt); - - - - -/* Should this be ".libepan"? For backwards-compatibility, I'll keep - * it ".ethereal" for now. - */ -#define PF_DIR ".ethereal" - - - #endif /* EPAN_H */ |