summaryrefslogtreecommitdiff
path: root/lib/falloc.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-11-18 21:41:05 +0000
committerjbj <devnull@localhost>1998-11-18 21:41:05 +0000
commit2578b7fc8451f06f83640b448bda098e295447cb (patch)
tree5e2aca0b793a070ee6db89e5aa2ddee3e68ccc5d /lib/falloc.h
parent9e52926682d6df396086c32c9c86a81212441775 (diff)
downloadlibrpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.tar.gz
librpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.tar.bz2
librpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.zip
implement abstract fd type almost everywhere.
CVS patchset: 2542 CVS date: 1998/11/18 21:41:05
Diffstat (limited to 'lib/falloc.h')
-rw-r--r--lib/falloc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/falloc.h b/lib/falloc.h
index 3a9a9a990..99c8d176b 100644
--- a/lib/falloc.h
+++ b/lib/falloc.h
@@ -6,7 +6,7 @@
uses 32 bit offsets on all platforms and should be byte order independent */
typedef /*@abstract@*/ struct faFile_s {
- int fd;
+ FD_t fd;
int readOnly;
unsigned int firstFree;
unsigned long fileSize;
@@ -23,9 +23,9 @@ unsigned int faAlloc(faFile fa, unsigned int size); /* returns 0 on failure */
void faFree(faFile fa, unsigned int offset);
void faClose(faFile fa);
+FD_t faFileno(faFile fa);
+off_t faLseek(faFile fa, off_t off, int op);
int faFcntl(faFile fa, int op, void *lip);
-int faLseek(faFile fa, off_t off, int op);
-int faFileno(faFile);
int faFirstOffset(faFile fa);
int faNextOffset(faFile fa, unsigned int lastOffset); /* 0 at end */