"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/misc_funct.h" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

misc_funct.h  (xorriso-1.5.2):misc_funct.h  (xorriso-1.5.4)
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2019 Thomas Schmitt, <scdbackup@gmx.net> Copyright 2007-2020 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
This file contains declarations of cellaneous helper functions of xorriso. This file contains declarations of miscellaneous helper functions of
xorriso.
*/ */
#ifndef Xorriso_pvt_misc_includeD #ifndef Xorriso_pvt_misc_includeD
#define Xorriso_pvt_misc_includeD yes #define Xorriso_pvt_misc_includeD yes
#include <regex.h> #include <regex.h>
#ifdef HAVE_STDINT_H #ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
#else #else
skipping to change at line 43 skipping to change at line 44
*/ */
char *Ftimetxt(time_t t, char timetext[40], int flag); char *Ftimetxt(time_t t, char timetext[40], int flag);
int System_uname(char **sysname, char **release, char **version, int System_uname(char **sysname, char **release, char **version,
char **machine, int flag); char **machine, int flag);
/** Convert a text into a number of type double and multiply it by unit code /** Convert a text into a number of type double and multiply it by unit code
[kmgtpe] (2^10 to 2^60) or [s] (2048). (Also accepts capital letters.) [kmgtpe] (2^10 to 2^60) or [s] (2048). (Also accepts capital letters.)
@param text Input like "42", "2k", "3.14m" or "-1g" @param text Input like "42", "2k", "3.14m" or "-1g"
@param flag Bitfield for control purposes: @param flag Bitfield for control purposes:
bit0= return -1 rathern than 0 on failure bit0= return -1 rather than 0 on failure
@return The derived double value @return The derived double value
*/ */
double Scanf_io_size(char *text, int flag); double Scanf_io_size(char *text, int flag);
/* /*
@flag bit0= do not initialize *diff_count @flag bit0= do not initialize *diff_count
@return <0 error , 0 = mismatch , 1 = match @return <0 error , 0 = mismatch , 1 = match
*/ */
int Compare_text_lines(char *text1, char *text2, int *diff_count, int flag); int Compare_text_lines(char *text1, char *text2, int *diff_count, int flag);
skipping to change at line 113 skipping to change at line 114
removed removed
*/ */
int Xorriso__exchange_prefix(char *source_prefix, char *target_prefix, int Xorriso__exchange_prefix(char *source_prefix, char *target_prefix,
char *eff_source, char *eff_target, int flag); char *eff_source, char *eff_target, int flag);
/* @param text takes result, must provide at least 37 characters of storage /* @param text takes result, must provide at least 37 characters of storage
@param flag bit0= structured text format (else hex string) @param flag bit0= structured text format (else hex string)
*/ */
int Xorriso__format_guid(uint8_t guid[16], char *text, int flag); int Xorriso__format_guid(uint8_t guid[16], char *text, int flag);
/* @param cpt start of keyword=value string
@param key_l length from cpt of keyword= string
@param l length from cpt up to end of value string
@param num result
*/
int Xorriso__parse_size_param(char *cpt, int key_l, int l, double *num);
#endif /* ! Xorriso_pvt_misc_includeD */ #endif /* ! Xorriso_pvt_misc_includeD */
 End of changes. 4 change blocks. 
3 lines changed or deleted 11 lines changed or added

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