aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-path.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-02 08:31:23 +0800
committerDan Winship <danw@src.gnome.org>2001-03-02 08:31:23 +0800
commitca443fec62a8a30820db652a49853974e799dcc5 (patch)
tree02f380875c2688c764cb0d9f0b43546479c084e0 /e-util/e-path.h
parent60aed2ad749fe5e0b4e8c5979ac1ce20da89e1d6 (diff)
downloadgsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar.gz
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar.bz2
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar.lz
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar.xz
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.tar.zst
gsoc2013-evolution-ca443fec62a8a30820db652a49853974e799dcc5.zip
New function to turn foo/bar into foo/subfolders/bar. The inverse function
* e-path.c (e_path_to_physical): New function to turn foo/bar into foo/subfolders/bar. The inverse function doesn't exist yet because I didn't need it. Also, if the shell were going to use this, we'd need a few more tools... * Makefile.am (libeutil_la_SOURCES): Add e-path.[ch] svn path=/trunk/; revision=8467
Diffstat (limited to 'e-util/e-path.h')
-rw-r--r--e-util/e-path.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/e-util/e-path.h b/e-util/e-path.h
new file mode 100644
index 0000000000..808b666d9e
--- /dev/null
+++ b/e-util/e-path.h
@@ -0,0 +1,26 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Copyright (C) 2001 Ximian, Inc.
+ *
+ * This library 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 library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __E_PATH__
+#define __E_PATH__
+
+char *e_path_to_physical (const char *prefix, const char *vpath);
+
+#endif /* __E_PATH__ */