The whole "typedef struct { … } Mytype;" was essentially an attempt to copy some convention from Plan 9 wrt naming. But I have changed my mind and will go back to avoiding typedefs for structs, and just use lowercase names everywhere.
JVU3TTT5T776LB2UNT5DCISJDWOITRSJPRG3CDTX4NDQEHC5VI3QC
6LCRAOHCGNOEBQZHX3PVIHFT2L4PKXEYACPEXUHYZF2LLB4H322QC
RIHOSQNYAAWSLYV7NCI5BMJ6D66J7W5OJ4SCGKXYKZLWV23QMZ2QC
MIGOMCLXILIVMBKTDJZOACZRJFPKATK4FPOHWNKU3LJ4CEZ4OUMQC
QE5NVXPUTYQD44LB7P3TK4LAZVJ4PVKQUUE6BX6KB32SGTYAG7HAC
U3JWO63YYQDCJX7CWXCS3N26CHY2TASADTCQIEDSJ7WC25GLZD5QC
QA7HY2THWTEZ2AQ4SINYGJKHHX4RFNZKA5LY4EDQCLVAVDZAZ2OQC
ZPNA2D42RFGGC45PLDYDGQUDPC7D4NBEH2HD4Y2L5P2CK3R52FAQC
UPYQ5FMNFMZKEN5UZYE4TW5Y4CTJTKZD55NRVJP4CXU6MFDXT7VAC
JAGXXSR7DR5FG77VKBF62BW7Q3JMVHCLHF4VB2PSLIZF4RLE553QC
2U7P5SFQG3AVALKMPJF4WMZE6PXIXXZYOMZ3RZKILBUJ4UMFXVIAC
ZKAOPMCHBGP7J7NQB233AQJQDX6TBD7REPLF3KN3EIKZK6TZZMBQC
Y26WT3ZFN7KSVXOZ26B5Y2OR4M4VQYQLPMAHPC4O5VIT3ENBISXAC
WFA5BBRFVUHJ53MOPZ2WDXZ4CEHKA32LDYERSYLVETIZTZDW22GAC
HKBM7HZGBH24UDVURTABIPF4P32AY6MDAZUDF3MWTXO7565BYWLQC
55SITR556Q3VRFOZNNQWJQZYYSTOZU6HQ5XFGR5KXMA6PGQ56PTAC
YG4DZB3AW3Z3LB5CFBZZ4ORJOLZFN3G4CA2YTAMSUOQX3USVNVEAC
XTVLIC243WZF52NVTNRA3SV3WLE2ZZ5GTFQOK45IOLMXYQMT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, most changes appear to have just one */
Position *entries;
} Positionlist;
struct position
first; /* Reserve space for the first Position, most changes appear to have just one */
struct position *entries;
};
Filemove filemove;
Filedel filedel;
Fileundel fileundel;
Fileadd fileadd;
Edit edit;
Replacement replacement;
struct filemove filemove;
struct filedel filedel;
struct fileundel fileundel;
struct fileadd fileadd;
struct edit edit;
struct replacement replacement;
typedef struct {
str message; /* the "commit" message */
str description; /* the other undescribed part of a change */
str timestamp; /* yes, as a string */
Authors authors; /* a list of "key"="value" collections */
} Changeheader;
struct changeheader {
str message; /* the "commit" message */
str description; /* the other undescribed part of a change */
str timestamp; /* yes, as a string */
struct authors authors; /* a list of "key"="value" collections */
};
typedef struct {
uint64_t version; /* same as in offsets? here to be hashed! */
Changeheader header;
Hashlist dependencies; /* array of hashes */
Hashlist extraknown; /* another array of hashes */
struct hashed {
uint64_t version; /* same as in offsets? here to be hashed! */
struct changeheader header;
struct hashlist dependencies; /* array of hashes */
struct hashlist extraknown; /* another array of hashes */
Replacement *r = &hunk->replacement;
Atom *c = &r->change;
Atom *ratm = &r->replacement;
struct replacement *r = &hunk->replacement;
struct atom *c =
&r->change; /* Expected to be an edgemap */
struct atom *replacement =
&r->replacement; /* Expected to be a newvertex */
uint8_t bincode_getu8(Bincode *);
uint16_t bincode_getu16(Bincode *);
uint32_t bincode_getu32(Bincode *);
uint64_t bincode_getu64(Bincode *);
uint8_t bincode_getu8(struct bincode *);
uint16_t bincode_getu16(struct bincode *);
uint32_t bincode_getu32(struct bincode *);
uint64_t bincode_getu64(struct bincode *);