X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Fdump.h;h=fafd4c399552a859ce519fe139727d082b33849d;hp=8960c88e7a8f0b29801898fbf451cbe3ee3d119d;hb=03dbfe054895f3654586eb1563f6baf4dd893890;hpb=28ba5caee0ed25d3b38da769967173e5710bc10c diff --git a/dump/dump.h b/dump/dump.h index 8960c88..fafd4c3 100644 --- a/dump/dump.h +++ b/dump/dump.h @@ -5,7 +5,7 @@ * Stelian Pop , 1999-2000 * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: dump.h,v 1.48 2004/04/21 08:55:51 stelian Exp $ + * $Id: dump.h,v 1.49 2004/07/01 09:14:49 stelian Exp $ */ /*- @@ -42,7 +42,7 @@ #include #define MAXINOPB (MAXBSIZE / sizeof(struct dinode)) -#define MAXNINDIR (MAXBSIZE / sizeof(daddr_t)) +#define MAXNINDIR (MAXBSIZE / sizeof(blk_t)) #define NUM_STR_SIZE 32 /* a generic number buffer size */ /* @@ -156,8 +156,8 @@ int maponefile __P((dump_ino_t maxino, long *tapesize, char *directory)); int mapdirs __P((dump_ino_t maxino, long *tapesize)); /* file dumping routines */ -void blksout __P((daddr_t *blkp, int frags, dump_ino_t ino)); -void bread __P((daddr_t blkno, char *buf, int size)); +void blksout __P((blk_t *blkp, int frags, dump_ino_t ino)); +void bread __P((ext2_loff_t blkno, char *buf, int size)); void dumpino __P((struct dinode *dp, dump_ino_t ino, int metaonly)); #ifdef __linux__ void dumpdirino __P((struct dinode *dp, dump_ino_t ino)); @@ -169,7 +169,7 @@ void mkchecksum __P((union u_spcl *tmpspcl)); /* tape writing routines */ int alloctape __P((void)); void close_rewind __P((void)); -void dumpblock __P((daddr_t blkno, int size)); +void dumpblock __P((blk_t blkno, int size)); void startnewtape __P((int top)); time_t trewind __P((void)); void writerec __P((const void *dp, int isspcl));