/src/compat/win32_tmpfile.h
C++ Header | 44 lines | 11 code | 5 blank | 28 comment | 0 complexity | 6994294ed851e14aa72ad7785a0359b5 MD5 | raw file
1/* 2 $Id: win32_tmpfile.h 231 2011-06-27 13:46:19Z marc.noirot $ 3 4 FLV Metadata updater 5 6 Copyright (C) 2007-2012 Marc Noirot <marc.noirot AT gmail.com> 7 8 This file is part of FLVMeta. 9 10 FLVMeta is free software; you can redistribute it and/or modify 11 it under the terms of the GNU General Public License as published by 12 the Free Software Foundation; either version 2 of the License, or 13 (at your option) any later version. 14 15 FLVMeta is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with FLVMeta; if not, write to the Free Software 22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 23*/ 24#ifndef __WIN32_TMPFILE_H__ 25#define __WIN32_TMPFILE_H__ 26 27#include <stdio.h> 28 29#ifdef __cplusplus 30extern "C" { 31#endif /* __cplusplus */ 32 33/* 34 Returns a descriptor to a temporary file. 35 This function is meant as a Windows replacement 36 to the broken standard tmpfile() function. 37*/ 38FILE * win32_tmpfile(void); 39 40#ifdef __cplusplus 41} 42#endif /* __cplusplus */ 43 44#endif /* __WIN32_TMPFILE_H__ */