aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-25 06:36:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-25 06:36:52 +0800
commit7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d (patch)
tree616bb8d01c626d26aca0ec2fe9f81e22503cfddb /e-util/e-mktemp.h
parentb74947b0a0adc405938f3ec720e9ea6e1904de94 (diff)
downloadgsoc2013-evolution-7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d.tar.gz
gsoc2013-evolution-7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d.tar.zst
gsoc2013-evolution-7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d.zip
Added e-mktemp.[c,h] to the build.
2001-08-24 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Added e-mktemp.[c,h] to the build. * e-mktemp.c (e_mktemp): A new wrapper around mktemp so that we can keep track of temp files for later cleanup. (e_mkstemp): Same but obviously for the mkstemp call. (e_mkdtemp): And finally a mkdtemp wrapper. svn path=/trunk/; revision=12460
Diffstat (limited to 'e-util/e-mktemp.h')
-rw-r--r--e-util/e-mktemp.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/e-util/e-mktemp.h b/e-util/e-mktemp.h
new file mode 100644
index 0000000000..9f7831d7b5
--- /dev/null
+++ b/e-util/e-mktemp.h
@@ -0,0 +1,33 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Authors: Jeffrey Stedfast <fejj@ximian.com>
+ *
+ * Copyright 2001 Ximian, Inc. (www.ximian.com)
+ *
+ * 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 Street #330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+
+#ifndef __E_MKTEMP_H__
+#define __E_MKTEMP_H__
+
+const char *e_mktemp (const char *template);
+
+int e_mkstemp (const char *template);
+
+const char *e_mkdtemp (const char *template);
+
+#endif /* __E_MKTEMP_H__ */