"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "inc/file.h" between
ms-sys-2.4.1.tar.gz and ms-sys-2.6.0.tar.gz

About: ms-sys writes Microsoft compatible boot records.

file.h  (ms-sys-2.4.1):file.h  (ms-sys-2.6.0)
skipping to change at line 12 skipping to change at line 12
#define FILE_H #define FILE_H
/* Max valid value of uiLen for contains_data */ /* Max valid value of uiLen for contains_data */
#define MAX_DATA_LEN 10240 #define MAX_DATA_LEN 10240
/* Checks if a file contains a data pattern of length uiLen at position /* Checks if a file contains a data pattern of length uiLen at position
ulPositoin. The file pointer will change when calling this function! */ ulPositoin. The file pointer will change when calling this function! */
int contains_data(FILE *fp, unsigned long ulPosition, int contains_data(FILE *fp, unsigned long ulPosition,
const void *pData, unsigned int uiLen); const void *pData, unsigned int uiLen);
/* Reads data of length uiLen at position ulPositoin.
The file pointer will change when calling this function! */
int read_data(FILE *fp, unsigned long ulPosition,
void *pData, unsigned int uiLen);
/* Writes a data pattern of length uiLen at position ulPositoin. /* Writes a data pattern of length uiLen at position ulPositoin.
The file pointer will change when calling this function! */ The file pointer will change when calling this function! */
int write_data(FILE *fp, unsigned long ulPosition, int write_data(FILE *fp, unsigned long ulPosition,
const void *pData, unsigned int uiLen); const void *pData, unsigned int uiLen);
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

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