"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mtools.h" between
mtools-4.0.35.tar.bz2 and mtools-4.0.36.tar.bz2

About: Mtools is a collection of utilities to access MS-DOS disks from Unix without mounting them.

mtools.h  (mtools-4.0.35.tar.bz2):mtools.h  (mtools-4.0.36.tar.bz2)
skipping to change at line 93 skipping to change at line 93
struct directory *mk_entry_from_base(const char *base, unsigned char attr, struct directory *mk_entry_from_base(const char *base, unsigned char attr,
unsigned int fat, uint32_t size, time_t date , unsigned int fat, uint32_t size, time_t date ,
struct directory *ndir); struct directory *ndir);
mt_off_t copyfile(Stream_t *Source, Stream_t *Target); mt_off_t copyfile(Stream_t *Source, Stream_t *Target);
int getfreeMinClusters(Stream_t *Stream, uint32_t ref); int getfreeMinClusters(Stream_t *Stream, uint32_t ref);
FILE *opentty(int mode); FILE *opentty(int mode);
int is_dir(Stream_t *Dir, char *path); int is_dir(Stream_t *Dir, char *path);
void bufferize(Stream_t **Dir);
int dir_grow(Stream_t *Dir, int size); int dir_grow(Stream_t *Dir, int size);
int match(const wchar_t *, const wchar_t *, wchar_t *, int, int); int match(const wchar_t *, const wchar_t *, wchar_t *, int, int);
wchar_t *unix_name(doscp_t *fromDos, wchar_t *unix_name(doscp_t *fromDos,
const char *base, const char *ext, uint8_t Case, const char *base, const char *ext, uint8_t Case,
wchar_t *answer); wchar_t *answer);
void *safe_malloc(size_t size); void *safe_malloc(size_t size);
Stream_t *open_filter(Stream_t *Next,int convertCharset); Stream_t *open_dos2unix(Stream_t *Next,int convertCharset);
Stream_t *open_unix2dos(Stream_t *Next,int convertCharset);
extern int got_signal; extern int got_signal;
/* int do_gotsignal(char *, int); /* int do_gotsignal(char *, int);
#define got_signal do_gotsignal(__FILE__, __LINE__) */ #define got_signal do_gotsignal(__FILE__, __LINE__) */
void setup_signal(void); void setup_signal(void);
#ifdef HAVE_SIGACTION #ifdef HAVE_SIGACTION
typedef struct { struct sigaction sa[4]; } saved_sig_state; typedef struct { struct sigaction sa[4]; } saved_sig_state;
#else #else
typedef int saved_sig_state; typedef int saved_sig_state;
skipping to change at line 184 skipping to change at line 184
extern int batchmode; extern int batchmode;
char get_default_drive(void); char get_default_drive(void);
void set_cmd_line_image(char *img); void set_cmd_line_image(char *img);
void check_number_parse_errno(char c, const char *optarg, char *endptr); void check_number_parse_errno(char c, const char *optarg, char *endptr);
void read_config(void); void read_config(void);
off_t str_to_offset_with_end(const char *str, char **endp); off_t str_to_offset_with_end(const char *str, char **endp);
mt_off_t str_to_off_with_end(const char *str, char **endp); mt_off_t str_to_off_with_end(const char *str, char **endp);
off_t str_to_offset(char *str); off_t str_to_offset(char *str);
uint32_t parseSize(char *sizeStr);
unsigned int strtoui(const char *nptr, char **endptr, int base); unsigned int strtoui(const char *nptr, char **endptr, int base);
unsigned int atoui(const char *nptr); unsigned int atoui(const char *nptr);
#ifndef HAVE_STRTOI #ifndef HAVE_STRTOI
int strtoi(const char *nptr, char **endptr, int base); int strtoi(const char *nptr, char **endptr, int base);
#endif #endif
unsigned long atoul(const char *nptr); unsigned long atoul(const char *nptr);
uint8_t strtou8(const char *nptr, char **endptr, int base); uint8_t strtou8(const char *nptr, char **endptr, int base);
uint8_t atou8(const char *str); uint8_t atou8(const char *str);
uint16_t strtou16(const char *nptr, char **endptr, int base); uint16_t strtou16(const char *nptr, char **endptr, int base);
uint16_t atou16(const char *str); uint16_t atou16(const char *str);
uint32_t strtou32(const char *nptr, char **endptr, int base); uint32_t strtou32(const char *nptr, char **endptr, int base);
uint32_t atou32(const char *str); uint32_t atou32(const char *str);
#define New(type) ((type*)(calloc(1,sizeof(type)))) #define New(type) ((type*)(calloc(1,sizeof(type))))
#define Grow(adr,n,type) ((type*)(realloc((char *)adr,n*sizeof(type)))) #define Grow(adr,n,type) ((type*)(realloc((char *)adr,n*sizeof(type))))
#define Free(adr) (free((char *)adr)); #define Free(adr) (free((char *)adr))
#define NewArray(size,type) ((type*)(calloc((size),sizeof(type)))) #define NewArray(size,type) ((type*)(calloc((size),sizeof(type))))
void mattrib(int argc, char **argv, int type); void mattrib(int argc, char **argv, int type);
void mbadblocks(int argc, char **argv, int type); void mbadblocks(int argc, char **argv, int type);
void mcat(int argc, char **argv, int type); void mcat(int argc, char **argv, int type);
void mcd(int argc, char **argv, int type); void mcd(int argc, char **argv, int type);
void mclasserase(int argc, char **argv, int type); void mclasserase(int argc, char **argv, int type);
void mcopy(int argc, char **argv, int type); void mcopy(int argc, char **argv, int type);
void mdel(int argc, char **argv, int type); void mdel(int argc, char **argv, int type);
void mdir(int argc, char **argv, int type); void mdir(int argc, char **argv, int type);
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 lines changed or added

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