Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
tempfile.h
Go to the documentation of this file.
1 /* tempfile.h
2  * Declarations of routines to create temporary files
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __TEMPFILE_H__
12 #define __TEMPFILE_H__
13 
14 #include "ws_symbol_export.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
19 
32 WS_DLL_PUBLIC char *get_tempfile_path(const char *filename);
33 
45 WS_DLL_PUBLIC int create_tempfile(char **namebuf, const char *pfx, const char *sfx);
46 
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50 
51 #endif /* __TEMPFILE_H__ */
WS_DLL_PUBLIC char * get_tempfile_path(const char *filename)
Definition: tempfile.c:84
WS_DLL_PUBLIC int create_tempfile(char **namebuf, const char *pfx, const char *sfx)
Definition: tempfile.c:102