libjte_private.h (xorriso-1.5.2) | : | libjte_private.h (xorriso-1.5.4) | ||
---|---|---|---|---|
/* | /* | |||
* libjte_private.h | * libjte_private.h | |||
* | * | |||
* Copyright (c) 2010 Thomas Schmitt <scdbackup@gmx.net> | * Copyright (c) 2010 Thomas Schmitt <scdbackup@gmx.net> | |||
* 2019 Steve McIntyre <steve@einval.com> | ||||
* | * | |||
* Environment structure for libjte | * Environment structure for libjte | |||
* | * | |||
* GNU LGPL v2.1 (including option for GPL v2 or later) | * GNU LGPL v2.1 (including option for GPL v2 or later) | |||
* | * | |||
*/ | */ | |||
#ifndef LIBJTE_PRIVATE_H_INCLUDED | #ifndef LIBJTE_PRIVATE_H_INCLUDED | |||
#define LIBJTE_PRIVATE_H_INCLUDED 1 | #define LIBJTE_PRIVATE_H_INCLUDED 1 | |||
/* Opaque handles */ | /* Opaque handles */ | |||
struct path_match; | struct path_match; | |||
struct path_mapping; | struct path_mapping; | |||
struct libjte_env { | struct libjte_env { | |||
char *outfile; | char *outfile; | |||
int verbose; | int verbose; | |||
int checksum_algo; | ||||
char *jtemplate_out; | char *jtemplate_out; | |||
char *jjigdo_out; | char *jjigdo_out; | |||
char *jmd5_list; | char *jchecksum_list; | |||
FILE *jtjigdo; | FILE *jtjigdo; | |||
FILE *jttemplate; | FILE *jttemplate; | |||
int jte_min_size; | int jte_min_size; | |||
int checksum_algo_iso; | int checksum_algo_iso; | |||
int checksum_algo_tmpl; | int checksum_algo_tmpl; | |||
jtc_t jte_template_compression; | jtc_t jte_template_compression; | |||
struct path_match *exclude_list; | struct path_match *exclude_list; | |||
struct path_match *include_list; | struct path_match *include_list; | |||
struct path_mapping *map_list; | struct path_mapping *map_list; | |||
uint64_t template_size; | uint64_t template_size; | |||
uint64_t image_size; | uint64_t image_size; | |||
checksum_context_t *iso_context; | checksum_context_t *iso_context; | |||
checksum_context_t *template_context; | checksum_context_t *template_context; | |||
entry_t *entry_list; | entry_t *entry_list; | |||
entry_t *entry_last; | entry_t *entry_last; | |||
FILE *t_file; | FILE *t_file; | |||
FILE *j_file; | FILE *j_file; | |||
int num_matches; | int num_matches; | |||
int num_chunks; | int num_chunks; | |||
md5_list_entry_t *md5_list; | checksum_list_entry_t *checksum_list; | |||
md5_list_entry_t *md5_last; | checksum_list_entry_t *checksum_last; | |||
int include_in_jigdo; /* 0= put data blocks into .template, 1= do not */ | int include_in_jigdo; /* 0= put data blocks into .template, 1= do not */ | |||
char message_buffer[4096]; | char message_buffer[4096]; | |||
int error_behavior; /* bit0= report messages to stderr rather than to list | int error_behavior; /* bit0= report messages to stderr rather than to list | |||
bit1= perform traditional exit(1) | bit1= perform traditional exit(1) | |||
*/ | */ | |||
jigdo_msg_entry_t *msg_list; | jigdo_msg_entry_t *msg_list; | |||
/* Static variables from write_compressed_chunk() */ | /* Static variables from write_compressed_chunk() */ | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added |