mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
- Replace global field variable with output parameter enum Fields *err - Adopt single goto cleanup pattern across all functions - Add errno preservation around cleanup in all modules - Fix early return bug in create.c cleanup block - Add ferror check in crc32() for silent read errors - Document error contracts in all public headers
9 lines
182 B
C
9 lines
182 B
C
#ifndef LIST_H
|
|
#define LIST_H
|
|
|
|
/* List all entries in a snapshot file.
|
|
Returns 0 on success, -1 on system/IO error, 128 on parse error. */
|
|
int list(const char *snapshot);
|
|
|
|
#endif
|