[CDRIVER-2429] Factor libbson and libmongoc base64 code Created: 14/Dec/17 Updated: 28/Oct/23 Resolved: 11/May/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.10.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | Merge libbson repository into mongo-c-driver | ||||||||||||||||
| Description |
|
mongoc-b64.c, b64_pton.h, and b64_ntop.h share a lot of code. Furthermore there are three identical declarations of the static "Base64" symbol. Data shouldn't be in a header, since then the header can't be included by more than on C file. Let's clean all this up and make libbson functions that do whatever we need with Base 64 encoding and decoding. |
| Comments |
| Comment by Githook User [ 11/May/18 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@10gen.com', 'username': 'kevinAlbs'}Message: |