"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/rufus.h" between
rufus-3.12.tar.gz and rufus-3.13.tar.gz

About: Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc (for Linux and Windows).

rufus.h  (rufus-3.12):rufus.h  (rufus-3.13)
skipping to change at line 94 skipping to change at line 94
#define WRITE_TIMEOUT 5000 // How long we should wai t between write retries (in ms) #define WRITE_TIMEOUT 5000 // How long we should wai t between write retries (in ms)
#if defined(_DEBUG) #if defined(_DEBUG)
#define SEARCH_PROCESS_TIMEOUT 60000 #define SEARCH_PROCESS_TIMEOUT 60000
#else #else
#define SEARCH_PROCESS_TIMEOUT 10000 // How long we should sea rch for conflicting processes before giving up (in ms) #define SEARCH_PROCESS_TIMEOUT 10000 // How long we should sea rch for conflicting processes before giving up (in ms)
#endif #endif
#define NET_SESSION_TIMEOUT 3500 // How long we should wai t to connect, send or receive internet data #define NET_SESSION_TIMEOUT 3500 // How long we should wai t to connect, send or receive internet data
#define MARQUEE_TIMER_REFRESH 10 // Time between progress bar marquee refreshes, in ms #define MARQUEE_TIMER_REFRESH 10 // Time between progress bar marquee refreshes, in ms
#define FS_DEFAULT FS_FAT32 #define FS_DEFAULT FS_FAT32
#define SINGLE_CLUSTERSIZE_DEFAULT 0x00000100 #define SINGLE_CLUSTERSIZE_DEFAULT 0x00000100
#define BADLOCKS_PATTERN_TYPES 3 #define BADLOCKS_PATTERN_TYPES 5
#define BADBLOCK_PATTERN_COUNT 4 #define BADBLOCK_PATTERN_COUNT 4
#define BADBLOCK_PATTERN_ONE_PASS {0x55, 0x00, 0x00, 0x00}
#define BADBLOCK_PATTERN_TWO_PASSES {0x55, 0xaa, 0x00, 0x00}
#define BADBLOCK_PATTERN_SLC {0x00, 0xff, 0x55, 0xaa} #define BADBLOCK_PATTERN_SLC {0x00, 0xff, 0x55, 0xaa}
#define BADCLOCK_PATTERN_MLC {0x00, 0xff, 0x33, 0xcc} #define BADCLOCK_PATTERN_MLC {0x00, 0xff, 0x33, 0xcc}
#define BADBLOCK_PATTERN_TLC {0x00, 0xff, 0x1c71c7, 0xe38e38} #define BADBLOCK_PATTERN_TLC {0x00, 0xff, 0x1c71c7, 0xe38e38}
#define BADBLOCK_BLOCK_SIZE (128 * 1024) #define BADBLOCK_BLOCK_SIZE (128 * 1024)
#define LARGE_FAT32_SIZE (32*1073741824LL) // Size at which we need to use fat32format #define LARGE_FAT32_SIZE (32*1073741824LL) // Size at which we need to use fat32format
#define UDF_FORMAT_SPEED 3.1f // Speed estimate at whic h we expect UDF drives to be formatted (GB/s) #define UDF_FORMAT_SPEED 3.1f // Speed estimate at whic h we expect UDF drives to be formatted (GB/s)
#define UDF_FORMAT_WARN 20 // Duration (in seconds) above which we warn about long UDF formatting times #define UDF_FORMAT_WARN 20 // Duration (in seconds) above which we warn about long UDF formatting times
#define MAX_FAT32_SIZE 2.0f // Threshold above which we disable FAT32 formatting (in TB) #define MAX_FAT32_SIZE 2.0f // Threshold above which we disable FAT32 formatting (in TB)
#define FAT32_CLUSTER_THRESHOLD 1.011f // For FAT32, cluster siz e changes don't occur at power of 2 boundaries but sligthly above #define FAT32_CLUSTER_THRESHOLD 1.011f // For FAT32, cluster siz e changes don't occur at power of 2 boundaries but sligthly above
#define DD_BUFFER_SIZE 65536 // Minimum size of the bu ffer we use for DD operations #define DD_BUFFER_SIZE 65536 // Minimum size of the bu ffer we use for DD operations
skipping to change at line 344 skipping to change at line 346
char cfg_path[128]; // path to the IS O's isolinux.cfg char cfg_path[128]; // path to the IS O's isolinux.cfg
char reactos_path[128]; // path to the ISO's free ldr.sys or setupldr.sys char reactos_path[128]; // path to the ISO's free ldr.sys or setupldr.sys
char wininst_path[MAX_WININST][64]; // path to the Windows install im age(s) char wininst_path[MAX_WININST][64]; // path to the Windows install im age(s)
char efi_img_path[128]; // path to an efi.img fil e char efi_img_path[128]; // path to an efi.img fil e
uint64_t image_size; uint64_t image_size;
uint64_t archive_size; uint64_t archive_size;
uint64_t projected_size; uint64_t projected_size;
int64_t mismatch_size; int64_t mismatch_size;
uint32_t wininst_version; uint32_t wininst_version;
BOOLEAN is_iso; BOOLEAN is_iso;
BOOLEAN is_bootable_img; uint8_t is_bootable_img;
BOOLEAN is_vhd; BOOLEAN is_vhd;
BOOLEAN is_windows_img; BOOLEAN is_windows_img;
BOOLEAN disable_iso; BOOLEAN disable_iso;
uint16_t winpe; uint16_t winpe;
uint16_t has_efi; uint16_t has_efi;
uint8_t has_md5sum; uint8_t has_md5sum;
uint8_t wininst_index; uint8_t wininst_index;
uint8_t has_symlinks; uint8_t has_symlinks;
BOOLEAN has_4GB_file; BOOLEAN has_4GB_file;
BOOLEAN has_long_filename; BOOLEAN has_long_filename;
skipping to change at line 568 skipping to change at line 570
extern char* insert_section_data(const char* filename, const char* section, cons t char* data, BOOL dos2unix); extern char* insert_section_data(const char* filename, const char* section, cons t char* data, BOOL dos2unix);
extern char* replace_in_token_data(const char* filename, const char* token, cons t char* src, const char* rep, BOOL dos2unix); extern char* replace_in_token_data(const char* filename, const char* token, cons t char* src, const char* rep, BOOL dos2unix);
extern char* replace_char(const char* src, const char c, const char* rep); extern char* replace_char(const char* src, const char c, const char* rep);
extern void parse_update(char* buf, size_t len); extern void parse_update(char* buf, size_t len);
extern void* get_data_from_asn1(const uint8_t* buf, size_t buf_len, const char* oid_str, uint8_t asn1_type, size_t* data_len); extern void* get_data_from_asn1(const uint8_t* buf, size_t buf_len, const char* oid_str, uint8_t asn1_type, size_t* data_len);
extern uint8_t WimExtractCheck(BOOL bSilent); extern uint8_t WimExtractCheck(BOOL bSilent);
extern BOOL WimExtractFile(const char* wim_image, int index, const char* src, co nst char* dst, BOOL bSilent); extern BOOL WimExtractFile(const char* wim_image, int index, const char* src, co nst char* dst, BOOL bSilent);
extern BOOL WimExtractFile_API(const char* image, int index, const char* src, co nst char* dst, BOOL bSilent); extern BOOL WimExtractFile_API(const char* image, int index, const char* src, co nst char* dst, BOOL bSilent);
extern BOOL WimExtractFile_7z(const char* image, int index, const char* src, con st char* dst, BOOL bSilent); extern BOOL WimExtractFile_7z(const char* image, int index, const char* src, con st char* dst, BOOL bSilent);
extern BOOL WimApplyImage(const char* image, int index, const char* dst); extern BOOL WimApplyImage(const char* image, int index, const char* dst);
extern BOOL IsBootableImage(const char* path); extern uint8_t IsBootableImage(const char* path);
extern BOOL AppendVHDFooter(const char* vhd_path); extern BOOL AppendVHDFooter(const char* vhd_path);
extern int SetWinToGoIndex(void); extern int SetWinToGoIndex(void);
extern int IsHDD(DWORD DriveIndex, uint16_t vid, uint16_t pid, const char* strid ); extern int IsHDD(DWORD DriveIndex, uint16_t vid, uint16_t pid, const char* strid );
extern char* GetSignatureName(const char* path, const char* country_code); extern char* GetSignatureName(const char* path, const char* country_code);
extern uint64_t GetSignatureTimeStamp(const char* path); extern uint64_t GetSignatureTimeStamp(const char* path);
extern LONG ValidateSignature(HWND hDlg, const char* path); extern LONG ValidateSignature(HWND hDlg, const char* path);
extern BOOL ValidateOpensslSignature(BYTE* pbBuffer, DWORD dwBufferLen, BYTE* pb Signature, DWORD dwSigLen); extern BOOL ValidateOpensslSignature(BYTE* pbBuffer, DWORD dwBufferLen, BYTE* pb Signature, DWORD dwSigLen);
extern BOOL IsFontAvailable(const char* font_name); extern BOOL IsFontAvailable(const char* font_name);
extern BOOL WriteFileWithRetry(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBy tesToWrite, extern BOOL WriteFileWithRetry(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBy tesToWrite,
LPDWORD lpNumberOfBytesWritten, DWORD nNumRetries); LPDWORD lpNumberOfBytesWritten, DWORD nNumRetries);
 End of changes. 4 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)