]> git.sur5r.net Git - glabels/blobdiff - src/file-util.h
Imported Upstream version 3.0.0
[glabels] / src / file-util.h
diff --git a/src/file-util.h b/src/file-util.h
new file mode 100644 (file)
index 0000000..f4e94f3
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  file-util.h
+ *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
+ *
+ *  This file is part of gLabels.
+ *
+ *  gLabels 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 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  gLabels 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 gLabels.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __FILE_UTIL_H__
+#define __FILE_UTIL_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+gchar              *gl_file_util_add_extension         (const gchar       *orig_filename);
+gchar              *gl_file_util_remove_extension      (const gchar       *orig_filename);
+
+gchar              *gl_file_util_make_absolute         (const gchar       *filename);
+
+gboolean            gl_file_util_is_extension          (const gchar       *filename,
+                                                        const gchar       *ext_test);
+
+G_END_DECLS
+
+#endif /* __FILE_UTIL_H__ */
+
+
+
+/*
+ * Local Variables:       -- emacs
+ * mode: C                -- emacs
+ * c-basic-offset: 8      -- emacs
+ * tab-width: 8           -- emacs
+ * indent-tabs-mode: nil  -- emacs
+ * End:                   -- emacs
+ */