libjio.h | libjio.h | |||
---|---|---|---|---|
skipping to change at line 66 | skipping to change at line 66 | |||
uint32_t ulen; /* user-supplied information lenght */ | uint32_t ulen; /* user-supplied information lenght */ | |||
uint64_t offset; /* offset relative to the BOF */ | uint64_t offset; /* offset relative to the BOF */ | |||
/* payload (variable lenght) */ | /* payload (variable lenght) */ | |||
char *udata; /* user-supplied data */ | char *udata; /* user-supplied data */ | |||
char *prevdata; /* previous data, optional, for rollback */ | char *prevdata; /* previous data, optional, for rollback */ | |||
char *data; /* data */ | char *data; /* data */ | |||
}; | }; | |||
/* basic operations */ | /* basic operations */ | |||
int jopen(struct jfs *fs, char *name, int flags, int mode, int jflags); | int jopen(struct jfs *fs, const char *name, int flags, int mode, int jflags ); | |||
ssize_t jread(struct jfs *fs, void *buf, size_t count); | ssize_t jread(struct jfs *fs, void *buf, size_t count); | |||
ssize_t jpread(struct jfs *fs, void *buf, size_t count, off_t offset); | ssize_t jpread(struct jfs *fs, void *buf, size_t count, off_t offset); | |||
ssize_t jreadv(struct jfs *fs, struct iovec *vector, int count); | ssize_t jreadv(struct jfs *fs, struct iovec *vector, int count); | |||
ssize_t jwrite(struct jfs *fs, void *buf, size_t count); | ssize_t jwrite(struct jfs *fs, void *buf, size_t count); | |||
ssize_t jpwrite(struct jfs *fs, void *buf, size_t count, off_t offset); | ssize_t jpwrite(struct jfs *fs, void *buf, size_t count, off_t offset); | |||
ssize_t jwritev(struct jfs *fs, struct iovec *vector, int count); | ssize_t jwritev(struct jfs *fs, struct iovec *vector, int count); | |||
int jtruncate(struct jfs *fs, off_t lenght); | int jtruncate(struct jfs *fs, off_t lenght); | |||
int jclose(struct jfs *fs); | int jclose(struct jfs *fs); | |||
/* transaction operations */ | /* transaction operations */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||