Wireshark  4.3.0
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 <wireshark.h>
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif /* __cplusplus */
19 
37 WS_DLL_PUBLIC int create_tempfile(const char *tempdir, char **namebuf, const char *pfx, const char *sfx, GError **err);
38 
49 WS_DLL_PUBLIC char *create_tempdir(const char *parent_dir, const char *tmpl, GError **err);
50 
51 #ifdef __cplusplus
52 }
53 #endif /* __cplusplus */
54 
55 #endif /* __TEMPFILE_H__ */
WS_DLL_PUBLIC char * create_tempdir(const char *parent_dir, const char *tmpl, GError **err)
Definition: tempfile.c:118
WS_DLL_PUBLIC int create_tempfile(const char *tempdir, char **namebuf, const char *pfx, const char *sfx, GError **err)
Definition: tempfile.c:54