Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
wsutil
base32.h
1
/* base32.h
2
* Base-32 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 __BASE32_H__
11
#define __BASE32_H__
12
13
#include "ws_symbol_export.h"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
/* __cplusplus */
18
20
#define Base32_BAD_INPUT -1
21
22
#define Base32_TOO_BIG -2
23
24
/* Encoding of a base32 byte array */
25
WS_DLL_PUBLIC
26
int
ws_base32_decode(guint8* output,
const
guint32 outputLength,
27
const
guint8* in,
const
guint32 inputLength);
28
29
#ifdef __cplusplus
30
}
31
#endif
/* __cplusplus */
32
33
#endif
/* __BASE32_H__ */
34
35
/*
36
* Editor modelines - https://www.wireshark.org/tools/modelines.html
37
*
38
* Local variables:
39
* c-basic-offset: 4
40
* tab-width: 8
41
* indent-tabs-mode: nil
42
* End:
43
*
44
* vi: set shiftwidth=4 tabstop=8 expandtab:
45
* :indentSize=4:tabSize=8:noTabs=true:
46
*/
Generated by
1.8.11