base32: shorten function names
Dependencies
- [2]
5D2IYPL7change: introduce changestore, print deleted lines - [3]
DRJRVIKOhash: Fix missing terminating null in encoding - [4]
733PFZJ5prefix header guard names with ANI_ - [5]
FD4A7HCMbase32: describe known limitations - [6]
QYRJIOYPchange: separate decoding and printing of hashed struct - [7]
ZKAOPMCHchange: Implement decoding of edits, atoms, positions, among others - [8]
SMB3M6ESchange: rework to make more testable - [9]
VKLGQREYchange: add base32 decode, initial deconstruction of hashed - [10]
2U7P5SFQChange struct names "struct foo -> typedef struct Foo" - [11]
YG4DZB3Aadd representation of hash, decode dependencies - [12]
DKX3RO3Lbase32: Add encoding of hashes, print base32-encoded hashes - [13]
XTKRT6OQformat the codebase - [14]
Q7TKZCJPAdd initial support for reading the offsets from a (fixed) change - [*]
QA7HY2THhunk + hash: replace abort() calls with die()
Change contents
- edit in hash.c at line 8[16.69][2.717]
#include "types.h" - replacement in hash.c at line 31
base32_hashencode(b32hash, hash->bytes);b32enc(b32hash, hash->bytes); - replacement in change.c at line 997
base32_hashdecode(contents_hash, hashstr);b32dec(contents_hash, hashstr); - replacement in change.c at line 1056
base32_hashencode(hashstr, hash->bytes);b32enc(hashstr, hash->bytes); - replacement in base32.h at line 10
void base32_hashdecode(uint8_t *dst, char const *in);void b32dec(u8 *, char const *);void b32enc(char *, u8 const *); - edit in base32.h at line 13[3.267]→[3.4117:4171](∅→∅),[3.322]→[3.1886:1887](∅→∅),[3.4171]→[3.1886:1887](∅→∅),[3.1886]→[3.1886:1887](∅→∅)
void base32_hashencode(char *dst, uint8_t const *in); - edit in base32.c at line 2
#include <unistd.h> - edit in base32.c at line 5
#include "types.h" - replacement in base32.c at line 21
static uint8_t BASE32[0x80] = {static u8 BASE32[0x80] = { - replacement in base32.c at line 51
base32_hashdecode(uint8_t *dst, char const *in)b32dec(u8 *dst, char const *in) - replacement in base32.c at line 54
uint8_t v[8];u8 v[8]; - replacement in base32.c at line 90
base32_hashencode(char *dst, uint8_t const *hash)b32enc(char *dst, u8 const *hash) - replacement in base32.c at line 92
uint8_t b[5];u8 b[5];