[PATCH v1 0/2] Cosmetic changes to erofs-utils

Kelvin Zhang zhangkelvin at google.com
Tue Nov 30 14:01:53 AEDT 2021


The following patches make erofs-utils more C++ friendly. It does not
perform any refactoring, instead it simply added extern "C" keywords so
that C++ code can call into EROFS.

Kelvin Zhang (2):
  Add android build target to build erofs as library
  Make erofs-utils more C++ friendly

 Android.bp                     | 38 +++++++++++++++++++++++++++++++---
 include/erofs/blobchunk.h      | 10 +++++++++
 include/erofs/block_list.h     | 10 +++++++++
 include/erofs/cache.h          |  9 ++++++++
 include/erofs/compress.h       |  9 ++++++++
 include/erofs/compress_hints.h | 10 +++++++++
 include/erofs/config.h         | 20 ++++++++----------
 include/erofs/decompress.h     |  9 ++++++++
 include/erofs/defs.h           | 20 ++++++++++++++++++
 include/erofs/err.h            |  9 ++++++++
 include/erofs/exclude.h        | 10 +++++++++
 include/erofs/flex-array.h     |  9 ++++++++
 include/erofs/hashmap.h        |  9 ++++++++
 include/erofs/hashtable.h      |  9 ++++++++
 include/erofs/inode.h          |  9 ++++++++
 include/erofs/internal.h       |  9 ++++++++
 include/erofs/io.h             | 11 ++++++++++
 include/erofs/list.h           | 10 +++++++++
 include/erofs/print.h          |  9 ++++++++
 include/erofs/trace.h          |  9 ++++++++
 include/erofs/xattr.h          |  9 ++++++++
 include/erofs_fs.h             |  9 ++++++++
 lib/config.c                   | 12 +++++++++++
 lib/inode.c                    |  7 +++++++
 lib/xattr.c                    | 12 +++++++++++
 mkfs/main.c                    |  7 +++++++
 26 files changed, 280 insertions(+), 14 deletions(-)

-- 
2.34.0.rc2.393.gf8c9666880-goog



More information about the Linux-erofs mailing list