Extract snapshot parser into a reusable types module

Splits RecordObject, unpack, release, field and field_name out of list.c into types.c/types.h; declares field extern in the header with a single definition in types.c; adds src/types.c to SOURCES.
This commit is contained in:
Fabio Scotto di Santolo
2026-08-21 00:00:23 +02:00
parent 3d63af4202
commit 9df9223b63
5 changed files with 281 additions and 265 deletions

View File

@@ -11,6 +11,7 @@ TARGET := $(BUILD_DIR)/fsnap
SOURCES := \
src/main.c \
src/utility.c \
src/types.c \
src/walk.c \
src/scan.c \
src/create.c \