|
4 | 4 | * Purpose: Header file for the b64 library |
5 | 5 | * |
6 | 6 | * Created: 18th October 2004 |
7 | | - * Updated: 6th May 2025 |
| 7 | + * Updated: 2nd August 2026 |
8 | 8 | * |
9 | 9 | * Thanks: To Adam McLaurin, for ideas regarding the b64_decode2() and |
10 | 10 | * b64_encode2(). To Gerry Hornbill for the exact required size |
11 | 11 | * returned by b64_decode2(). |
12 | 12 | * |
13 | 13 | * Home: https://github.com/synesissoftware/b64 |
14 | 14 | * |
15 | | - * Copyright (c) 2019-2025, Matthew Wilson and Synesis Information Systems |
| 15 | + * Copyright (c) 2019-2026, Matthew Wilson and Synesis Information Systems |
16 | 16 | * Copyright (c) 2004-2019, Matthew Wilson and Synesis Software |
17 | 17 | * All rights reserved. |
18 | 18 | * |
|
60 | 60 | #ifndef B64_DOCUMENTATION_SKIP_SECTION |
61 | 61 | # define B64_VER_B64_H_B64_MAJOR 1 |
62 | 62 | # define B64_VER_B64_H_B64_MINOR 6 |
63 | | -# define B64_VER_B64_H_B64_REVISION 13 |
64 | | -# define B64_VER_B64_H_B64_EDIT 51 |
| 63 | +# define B64_VER_B64_H_B64_REVISION 14 |
| 64 | +# define B64_VER_B64_H_B64_EDIT 52 |
65 | 65 | #endif /* !B64_DOCUMENTATION_SKIP_SECTION */ |
66 | 66 |
|
67 | | -/** \def B64_VER_MAJOR |
68 | | - * The major version number of b64 |
69 | | - */ |
70 | | - |
71 | | -/** \def B64_VER_MINOR |
72 | | - * The minor version number of b64 |
73 | | - */ |
74 | | - |
75 | | -/** \def B64_VER_REVISION |
76 | | - * The revision version number of b64 |
77 | | - */ |
78 | | - |
79 | | -/** \def B64_VER |
80 | | - * The current composite version number of b64 |
| 67 | +/** |
| 68 | + * \def B64_VER_MAJOR |
| 69 | + * |
| 70 | + * The Major version number of the b64 library |
| 71 | + * |
| 72 | + * \def B64_VER_MINOR |
| 73 | + * |
| 74 | + * Minor version number of the b64 library |
| 75 | + * |
| 76 | + * \def B64_VER_PATCH |
| 77 | + * |
| 78 | + * The patch number of the b64 library |
| 79 | + * |
| 80 | + * \def B64_VER |
| 81 | + * |
| 82 | + * The composite version of the b64 library |
81 | 83 | */ |
82 | 84 |
|
83 | | -#ifndef B64_DOCUMENTATION_SKIP_SECTION |
84 | | -# define B64_VER_1_0_1 0x01000100 |
85 | | -# define B64_VER_1_0_2 0x01000200 |
86 | | -# define B64_VER_1_0_3 0x01000300 |
87 | | -# define B64_VER_1_1_1 0x01010100 |
88 | | -# define B64_VER_1_1_2 0x01010200 |
89 | | -# define B64_VER_1_1_3 0x01010300 |
90 | | -# define B64_VER_1_2_1 0x01020100 |
91 | | -# define B64_VER_1_2_2 0x01020200 |
92 | | -# define B64_VER_1_2_3 0x01020300 |
93 | | -# define B64_VER_1_2_4 0x01020400 |
94 | | -# define B64_VER_1_2_5 0x01020500 |
95 | | -# define B64_VER_1_2_6 0x01020600 |
96 | | -# define B64_VER_1_2_7 0x01020700 |
97 | | -# define B64_VER_1_3_1 0x010301ff |
98 | | -# define B64_VER_1_3_2 0x010302ff |
99 | | -# define B64_VER_1_3_3 0x010303ff |
100 | | -# define B64_VER_1_3_4 0x010304ff |
101 | | -# define B64_VER_1_4_1_ALPHA_1 0x01040101 |
102 | | -# define B64_VER_1_4_2 0x010402ff |
103 | | -# define B64_VER_1_4_3 0x010403ff |
104 | | -# define B64_VER_1_4_4 0x010404ff |
105 | | -# define B64_VER_1_4_5 0x010405ff |
106 | | -# define B64_VER_1_4_6 0x010406ff |
107 | | -# define B64_VER_1_4_7 0x010407ff |
108 | | -# define B64_VER_1_4_8 0x010408ff |
109 | | -# define B64_VER_1_5_1 0x010501ff |
110 | | -# define B64_VER_1_5_2 0x010502ff |
111 | | -# define B64_VER_1_5_3 0x010503ff |
112 | | -# define B64_VER_1_5_4 0x010504ff |
113 | | -# define B64_VER_1_5_5 0x010505ff |
114 | | -# define B64_VER_1_5_6 0x010506ff |
115 | | -#endif /* !B64_DOCUMENTATION_SKIP_SECTION */ |
116 | | - |
117 | 85 | #define B64_VER_MAJOR 1 |
118 | 86 | #define B64_VER_MINOR 5 |
119 | | -#define B64_VER_REVISION 5 |
120 | | -#define B64_VER B64_VER_1_5_6 |
| 87 | +#define B64_VER_PATCH 7 |
| 88 | +#define B64_VER_ALPHABETA 0xC1 |
| 89 | + |
| 90 | +#define B64_VER \ |
| 91 | + (0\ |
| 92 | + | ( B64_VER_MAJOR << 24 ) \ |
| 93 | + | ( B64_VER_MINOR << 16 ) \ |
| 94 | + | ( B64_VER_PATCH << 8 ) \ |
| 95 | + | ( B64_VER_ALPHABETA << 0 ) \ |
| 96 | + ) |
| 97 | + |
| 98 | +#define B64_VER_REVISION B64_VER_PATCH |
121 | 99 |
|
122 | 100 |
|
123 | 101 | /* ///////////////////////////////////////////////////////////////////////// |
|
0 commit comments