VXGUQZIVOLPAPINOY3EMFDHLFNBI3H6BNYYENS7P4G2WT4CCWCAQC
3FT3XTJMUAXQ257T5GB7YWWTI7QBKKVC7WA6DCH5UY26RLQO5PFQC
Y26WT3ZFN7KSVXOZ26B5Y2OR4M4VQYQLPMAHPC4O5VIT3ENBISXAC
Q7TKZCJP2Z75EICZYKCEZDHKGERSOKZGMTSU3UXETBHTF663T66AC
VKLGQREYOZDV46F672RFE5XJO3OEOP4EHTCWZYOJY24HVPQX3L6QC
cmd_change_usage() {
cmd_change_usage(){
cmd_change_usage()
{
hashed.version = bincode_getu64(p);
hashed.version = bincode_getu64(&p);
p += sizeof(uint64_t);
len = bincode_getu64(p); p += sizeof(uint64_t);
len = bincode_getu64(p);
len = bincode_getu64(&p);
hashed.header.message = bincode_getstr(p, len); p += len;
hashed.header.message = bincode_getstr(p, len);
p += len;
hashed.header.message = bincode_getstr(&p, len);
len = bincode_getu64(p); p += sizeof(uint64_t); hashed.header.description = bincode_getstr(p, len); p += len;
hashed.header.description = bincode_getstr(p, len);
len = bincode_getu64(&p); hashed.header.description = bincode_getstr(&p, len);
hashed.header.description = bincode_getstr(&p, len);
hashed.header.timestamp = bincode_getstr(p, len); p += len;
hashed.header.timestamp = bincode_getstr(p, len);
hashed.header.timestamp = bincode_getstr(&p, len);
uint16_t bincode_getu16(uint8_t *);uint32_t bincode_getu32(uint8_t *);uint64_t bincode_getu64(uint8_t *);
uint16_t bincode_getu16(uint8_t *);
uint32_t bincode_getu32(uint8_t *);
uint64_t bincode_getu64(uint8_t *);
uint16_t bincode_getu16(uint8_t **);uint32_t bincode_getu32(uint8_t **);uint64_t bincode_getu64(uint8_t **);
uint16_t bincode_getu16(uint8_t **);
uint32_t bincode_getu32(uint8_t **);
uint64_t bincode_getu64(uint8_t **);
char *bincode_getstr(uint8_t *, size_t);
char *bincode_getstr(uint8_t **, size_t);
bincode_getu16(uint8_t *b)
bincode_getu16(uint8_t **bp)
return (uint16_t)b[1] << 8 | (uint16_t)b[0];
uint16_t ret; uint8_t *b; b = *bp; ret = (uint16_t)b[1] << 8 | (uint16_t)b[0]; *bp += sizeof(uint16_t); return ret;
uint16_t ret;
uint8_t *b;
b = *bp;
ret = (uint16_t)b[1] << 8 | (uint16_t)b[0];
*bp += sizeof(uint16_t);
return ret;
bincode_getu32(uint8_t *b)
bincode_getu32(uint8_t **bp)
return (uint32_t)b[3] << 24
uint32_t ret; uint8_t *b; b = *bp; ret = (uint32_t)b[3] << 24
uint32_t ret;
ret = (uint32_t)b[3] << 24
*bp += sizeof(uint32_t); return ret;
*bp += sizeof(uint32_t);
bincode_getu64(uint8_t *b)
bincode_getu64(uint8_t **bp)
return (uint64_t)b[7] << 56
uint64_t ret; uint8_t *b; b = *bp; ret = (uint64_t)b[7] << 56
uint64_t ret;
ret = (uint64_t)b[7] << 56
*bp += sizeof(uint64_t); return ret;
*bp += sizeof(uint64_t);
bincode_getstr(uint8_t *b, size_t len)
bincode_getstr(uint8_t **b, size_t len)
memcpy(str, b, len);
memcpy(str, *b, len);
*b += len;