libjio.h | libjio.h | |||
---|---|---|---|---|
/* | /* | |||
* libjio - A library for Journalled I/O | * libjio - A library for Journaled I/O | |||
* Alberto Bertogli (albertogli@telpin.com.ar) | * Alberto Bertogli (albertogli@telpin.com.ar) | |||
*/ | */ | |||
#ifndef _LIBJIO_H | #ifndef _LIBJIO_H | |||
#define _LIBJIO_H | #define _LIBJIO_H | |||
#include <stdint.h> | #include <stdint.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/uio.h> | #include <sys/uio.h> | |||
#include <pthread.h> | #include <pthread.h> | |||
skipping to change at line 99 | skipping to change at line 99 | |||
#define J_COMMITED 1 /* mark a transaction as commited */ | #define J_COMMITED 1 /* mark a transaction as commited */ | |||
#define J_ROLLBACKED 2 /* mark a transaction as rollbacked */ | #define J_ROLLBACKED 2 /* mark a transaction as rollbacked */ | |||
/* disk_trans constants */ | /* disk_trans constants */ | |||
#define J_DISKTFIXSIZE 24 /* lenght of disk_trans' header */ | #define J_DISKTFIXSIZE 24 /* lenght of disk_trans' 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 */ | ||||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||