aboutsummaryrefslogtreecommitdiffstats
path: root/epan/filesystem.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-09-28 03:16:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-09-28 03:16:29 +0000
commit9d9850f209ff7b5f350c7e83719eebaa76a72edd (patch)
treeccf03ab311c3d67e880750071dcba5cb31d73e42 /epan/filesystem.h
parentcba2930d6bb7e8cf2b0c03d14203624b56460835 (diff)
More EPAN-related code movements. Get rid of usage of #include "globals.h"
and #include "util.h" from epan code. Move get_home_dir() into epan/filesystem.c as it's used by plugins.c. svn path=/trunk/; revision=2461
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r--epan/filesystem.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
new file mode 100644
index 0000000000..e8345daf3c
--- /dev/null
+++ b/epan/filesystem.h
@@ -0,0 +1,33 @@
+/* filesystem.h
+ * Filesystem utility definitions
+ *
+ * $Id: filesystem.h,v 1.1 2000/09/28 03:16:16 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * Copyright 1998 Gerald Combs
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef FILESYSTEM_H
+#define FILESYSTEM_H
+
+/* Returns the user's home directory, via the HOME environment
+ * variable, or a default directory if HOME is not set */
+const char* get_home_dir(void);
+
+#endif FILESYSTEM_H