|
| static void | usage_archive (FILE *out) |
| |
| static int | parse_archive_mode (const char *name) |
| |
| static int | mode_writes_metadata (int module) |
| |
| static int | mode_reads_metadata (int module) |
| |
| static int | mode_creates_volume_file (int module, int flags) |
| |
| static int | from_open (int un, char *file, struct FHeader *fh, int flags) |
| |
| static ssize_t | from_read (int un, int fork, char *buf, size_t len) |
| |
| static int | from_close (int un) |
| |
| static int | to_open (int to, char *file, struct FHeader *fh, int flags) |
| |
| static ssize_t | to_write (int to, int fork, size_t bufc) |
| |
| static int | to_close (int to, int keepflag) |
| |
| static const char * | created_file_path (int module) |
| |
| static int | update_created_file_cnid (const struct nad_volume *volume, const char *path) |
| |
| static void | print_header_date (const char *label, uint32_t ad_date, int available) |
| |
| static void | print_header (const struct FHeader *fh) |
| |
| static int | nad_archive_convert (char *path, int module, const char *newname, int flags, const struct nad_volume *volume) |
| |
| static void | close_metadata_volume (struct nad_volume *volume) |
| |
| static int | validate_volume_metadata (const char *volpath, const struct vol *vol) |
| |
| static void | set_fallback_volume (struct nad_volume *volume, int flags) |
| |
| static int | resolve_metadata_volume (AFPObj *obj, int module, const char *path, int flags, struct nad_volume *volume) |
| |
| static int | arg_is_option_with_value (const char *arg) |
| |
| static int | arg_is_flag_option (const char *arg) |
| |
| static int | set_newname (char *newname, size_t newname_len, const char *name) |
| |
| static int | option_after_file (const char *arg) |
| |
| int | nad_archive (int argc, char **argv, AFPObj *obj) |
| |