/src/compat/win32_tmpfile.h

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