libjio.h   libjio.h 
skipping to change at line 22 skipping to change at line 22
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <pthread.h> #include <pthread.h>
#include <unistd.h> #include <unistd.h>
/* Check if we're using Large File Support - otherwise refuse to build. /* Check if we're using Large File Support - otherwise refuse to build.
* Otherwise, we would allow applications not using LFS to link with the * Otherwise, we would allow applications not using LFS to link with the
* library (which uses LFS) and that's just begging for problems. There sho uld * library (which uses LFS) and that's just begging for problems. There sho uld
* be a portable way for the C library to do some of this for us, but until I * be a portable way for the C library to do some of this for us, but until I
* find one, this is the best we can do */ * find one, this is the best we can do */
#if (!defined _FILE_OFFSET_BITS) || (_FILE_OFFSET_BITS != 64) #ifndef _LARGEFILE_SOURCE
#error "You must compile your application with Large File Support" #error "You must compile your application with Large File Support"
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
/* logical structures */ /* logical structures */
/* the main file structure */ /* the main file structure */
struct jfs { struct jfs {
int fd; /* main file descriptor */ int fd; /* main file descriptor */
char *name; /* and its name */ char *name; /* and its name */
char *jdir; /* journal directory */ char *jdir; /* journal directory */
int jdirfd; /* journal directory file descriptor */ int jdirfd; /* journal directory file descriptor */
int jfd; /* journal's lock file descriptor */ int jfd; /* journal's lock file descriptor */
unsigned int *jmap; /* journal's lock file mmap area */ unsigned int *jmap; /* journal's lock file mmap area */
skipping to change at line 163 skipping to change at line 159
/* disk constants */ /* disk constants */
#define J_DISKHEADSIZE 12 /* length of disk_header */ #define J_DISKHEADSIZE 12 /* length of disk_header */
#define J_DISKOPHEADSIZE 16 /* length of disk_operation header */ #define J_DISKOPHEADSIZE 16 /* length of disk_operation header */
/* jfsck constants (return values) */ /* jfsck constants (return values) */
#define J_ESUCCESS 0 /* success - shouldn't be used */ #define J_ESUCCESS 0 /* success - shouldn't be used */
#define J_ENOENT -1 /* no such file */ #define J_ENOENT -1 /* no such file */
#define J_ENOJOURNAL -2 /* no journal associated */ #define J_ENOJOURNAL -2 /* no journal associated */
#define J_ENOMEM -3 /* no enough free memory */ #define J_ENOMEM -3 /* no enough free memory */
#ifdef __cplusplus
} /* from extern "C" above */
#endif
#endif #endif
 End of changes. 3 change blocks. 
9 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/