Wireshark  4.3.0
The Wireshark network protocol analyzer
base32.h
Go to the documentation of this file.
1 
10 #ifndef __BASE32_H__
11 #define __BASE32_H__
12 
13 #include <wireshark.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18 
20 #define Base32_BAD_INPUT -1
22 #define Base32_TOO_BIG -2
23 
24 /* Encoding of a base32 byte array */
25 WS_DLL_PUBLIC
26 int ws_base32_decode(uint8_t* output, const uint32_t outputLength,
27  const uint8_t* in, const uint32_t 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  */