Rewrite the layout case statement as two separate ones, grouping and using
[metze/wireshark/wip.git] / ui / ssl_key_export.h
1 /* export_sslkeys.h
2  *
3  * $Id$
4  *
5  * SSL session key utilities. Copied from ui/gkt/export_sslkeys.c
6  * by Sake Blok <sake@euronet.nl> (20110526)
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  */
26
27 #ifndef __SSL_KEY_EXPORT_H__
28 #define __SSL_KEY_EXPORT_H__
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33
34 /** Return the number of available SSL session keys.
35  *
36  * @return The number of available SSL session keys.
37  */
38 extern int ssl_session_key_count(void);
39
40 /** Dump our SSL Session Keys to a string
41  *
42  * @return A string containing all the SSL Session Keys. Must be freed with
43  * g_free().
44  */
45 extern gchar* ssl_export_sessions(void);
46
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50
51 #endif /* __SSL_KEY_EXPORT_H__ */
52
53 /*
54  * Editor modelines
55  *
56  * Local Variables:
57  * c-basic-offset: 4
58  * tab-width: 8
59  * indent-tabs-mode: nil
60  * End:
61  *
62  * ex: set shiftwidth=4 tabstop=8 expandtab:
63  * :indentSize=4:tabSize=8:noTabs=true:
64  */