change: prefix function names with change_

laumann
Aug 19, 2022, 10:27 AM
KDJUAAALIKZDRTVNUZKXYYA5UYMZNYBCI3CCRKS4YONBVRUADPXAC

Dependencies

  • [2] RIWSVVAS change: decompress the 'contents' with zstd_seekable
  • [3] Q7TKZCJP Add initial support for reading the offsets from a (fixed) change
  • [4] QEFCNNVC change: display offsets for given change file
  • [5] AEMTSEJX change: simplify readout of offsets

Change contents

  • replacement in change.c at line 14
    [3.1493][3.1493:1537]()
    decode_offsets(int fd, struct offsets *off)
    [3.1493]
    [3.1537]
    change_decode_offsets(int fd, struct offsets *off)
  • replacement in change.c at line 70
    [2.622][2.622:665]()
    read_contents(int fd, struct offsets *off)
    [2.622]
    [2.665]
    change_read_contents(int fd, struct offsets *off)
  • edit in change.c at line 129
    [2.2351][2.2351:2447]()
    /** Success! decompressed all that we wanted */
    dump_buf("contents", buf, off->contents_len);
  • replacement in change.c at line 175
    [3.2475][3.2475:2508]()
    err = decode_offsets(fd, &off);
    [3.2475]
    [3.2508]
    err = change_decode_offsets(fd, &off);
  • replacement in change.c at line 192
    [2.2870][2.2870:2907]()
    contents = read_contents(fd, &off);
    [2.2870]
    [2.2907]
    contents = change_read_contents(fd, &off);
    dump_buf("contents", contents, off.contents_len);
    free(contents);