From 7c6273ec2ee915a55b2a8fbeb1c597a2a0d0282d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 24 Aug 2001 22:36:52 +0000 Subject: Added e-mktemp.[c,h] to the build. 2001-08-24 Jeffrey Stedfast * 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 --- e-util/e-mktemp.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 e-util/e-mktemp.h (limited to 'e-util/e-mktemp.h') 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 + * + * 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__ */ -- cgit v1.2.3