Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
base64.h
1 /* base64.h
2  * Base-64 conversion
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 #ifndef __BASE64_H__
11 #define __BASE64_H__
12 
13 #include "ws_symbol_export.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18 
19 /* In-place decoding of a base64 string. Resulting string is NULL terminated */
20 WS_DLL_PUBLIC
21 size_t ws_base64_decode_inplace(char *s);
22 
23 #ifdef __cplusplus
24 }
25 #endif /* __cplusplus */
26 
27 #endif /* __BASE64_H__ */