summaryrefslogtreecommitdiff
path: root/include/protocols
diff options
context:
space:
mode:
authorDima Ruban <dima@FreeBSD.org>1998-10-27 04:01:19 +0000
committerDima Ruban <dima@FreeBSD.org>1998-10-27 04:01:19 +0000
commit97b465b14297c2c7194fa40f473e5103ae167d27 (patch)
tree06fd9b26776b4e9e0d445f39706b3c0d91b0a5fe /include/protocols
parent551677729e32b68348702be1504ee0c2bd381557 (diff)
Notes
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/dumprestore.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 72eddcd0f2da..9721082a900f 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -67,25 +67,25 @@
union u_spcl {
char dummy[TP_BSIZE];
struct s_spcl {
- long c_type; /* record type (see below) */
+ int32_t c_type; /* record type (see below) */
time_t c_date; /* date of this dump */
time_t c_ddate; /* date of previous dump */
- long c_volume; /* dump volume number */
+ int32_t c_volume; /* dump volume number */
daddr_t c_tapea; /* logical block of this record */
ino_t c_inumber; /* number of inode */
- long c_magic; /* magic number (see above) */
- long c_checksum; /* record checksum */
+ int32_t c_magic; /* magic number (see above) */
+ int32_t c_checksum; /* record checksum */
struct dinode c_dinode; /* ownership and mode of inode */
- long c_count; /* number of valid c_addr entries */
+ int32_t c_count; /* number of valid c_addr entries */
char c_addr[TP_NINDIR]; /* 1 => data; 0 => hole in inode */
char c_label[LBLSIZE]; /* dump label */
- long c_level; /* level of this dump */
+ int32_t c_level; /* level of this dump */
char c_filesys[NAMELEN]; /* name of dumpped file system */
char c_dev[NAMELEN]; /* name of dumpped device */
char c_host[NAMELEN]; /* name of dumpped host */
- long c_flags; /* additional information */
- long c_firstrec; /* first record on volume */
- long c_spare[32]; /* reserved for future uses */
+ int32_t c_flags; /* additional information */
+ int32_t c_firstrec; /* first record on volume */
+ int32_t c_spare[32]; /* reserved for future uses */
} s_spcl;
} u_spcl;
#define spcl u_spcl.s_spcl