|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
#include <errno.h>#include <limits.h>#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "structs/options.h"#include "log.h"Go to the source code of this file.
Functions | |
| static char * | aaru_strtok_reentrant (char *str, const char *delim, char **saveptr) |
| aaru_options | parse_options (const char *options, bool *table_shift_found) |
| Parses the options string for AaruFormat image creation/opening. | |
|
static |
Definition at line 30 of file options.c.
Referenced by parse_options().
| aaru_options parse_options | ( | const char * | options, |
| bool * | table_shift_found ) |
Parses the options string for AaruFormat image creation/opening.
Parses the options string and returns a struct with the parsed options for image creation or opening.
| options | String with options to parse (may be NULL). |
Definition at line 47 of file options.c.
References aaru_strtok_reentrant(), aaru_options::blake3, aaru_options::block_alignment, aaru_options::compress, aaru_options::data_shift, aaru_options::deduplicate, aaru_options::dictionary, aaru_options::md5, aaru_options::num_threads, aaru_options::sha1, aaru_options::sha256, aaru_options::spamsum, aaru_options::table_shift, TRACE, aaru_options::zstd, and aaru_options::zstd_level.
Referenced by aaruf_create(), and aaruf_open().