diff options
Diffstat (limited to 'genisoimage/jte.h')
-rw-r--r-- | genisoimage/jte.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/genisoimage/jte.h b/genisoimage/jte.h new file mode 100644 index 0000000..4469452 --- /dev/null +++ b/genisoimage/jte.h @@ -0,0 +1,39 @@ +/* + * jte.c + * + * Copyright (c) 2004-2006 Steve McIntyre <steve@einval.com> + * + * Prototypes and declarations for JTE + * + * GNU GPL v2 + */ + +extern char *jtemplate_out; +extern char *jjigdo_out; +extern char *jmd5_list; +extern FILE *jthelper; +extern FILE *jtjigdo; +extern FILE *jttemplate; +extern int jte_min_size; +extern int checksum_algo_iso; +extern int checksum_algo_tmpl; + +extern void write_jt_header(FILE *template_file, FILE *jigdo_file); +extern void write_jt_footer(void); +extern void jtwrite(void *buffer, int size, int count, int submode, BOOL islast); +extern void write_jt_match_record(char *filename, char *mirror_name, int sector_size, off_t size, unsigned char md5[16]); +extern int list_file_in_jigdo(char *filename, off_t size, char **realname, unsigned char md5[16]); +extern int jte_add_exclude(char *pattern); +extern int jte_add_include(char *pattern); +extern int jte_add_mapping(char *arg); + +typedef enum _jtc_e +{ + JTE_TEMP_GZIP = 0, + JTE_TEMP_BZIP2 +} jtc_t; + +extern jtc_t jte_template_compression; + + +#define MIN_JIGDO_FILE_SIZE 1024 |