Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan epan.h filesystem.c filesystem.h plugin
guy 2001/10/21 16:47:59 CDT
Modified files:
epan epan.h filesystem.c filesystem.h
plugins.c resolv.c
Log:
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.
Revision Changes Path
1.7 +1 -12 ethereal/epan/epan.h
1.7 +19 -3 ethereal/epan/filesystem.c
1.5 +18 -1 ethereal/epan/filesystem.h
1.35 +1 -2 ethereal/epan/plugins.c
1.14 +26 -41 ethereal/epan/resolv.c