X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Fprotocols%2Fdumprestore.h;h=77b185950fae27bc8e8956c975684f25eb60972f;hb=0d0bc3269d21d8a5d3d019a19d8250b852a4d3ff;hp=4985f8056f0de7cb0fa506006f47f2fef6d1f6aa;hpb=ec387a1267f4cac7625cd5b6d1c1f080d39085b3;p=dump.git diff --git a/compat/include/protocols/dumprestore.h b/compat/include/protocols/dumprestore.h index 4985f80..77b1859 100644 --- a/compat/include/protocols/dumprestore.h +++ b/compat/include/protocols/dumprestore.h @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: dumprestore.h,v 1.3 1999/10/11 13:31:09 stelian Exp $ + * $Id: dumprestore.h,v 1.5 2000/01/08 10:00:41 tiniou Exp $ */ #ifndef _PROTOCOLS_DUMPRESTORE_H_ @@ -76,8 +76,8 @@ union u_spcl { char dummy[TP_BSIZE]; struct s_spcl { int32_t c_type; /* record type (see below) */ - time_t c_date; /* date of this dump */ - time_t c_ddate; /* date of previous dump */ + int32_t c_date; /* date of this dump */ + int32_t c_ddate; /* date of previous dump */ int32_t c_volume; /* dump volume number */ daddr_t c_tapea; /* logical block of this record */ ino_t c_inumber; /* number of inode */ @@ -117,8 +117,4 @@ union u_spcl { #define DR_NEWHEADER 0x0001 /* new format tape header */ #define DR_NEWINODEFMT 0x0002 /* new format inodes on tape */ -#define DUMPOUTFMT "%-16s %c %s" /* for printf */ - /* name, level, ctime(date) */ -#define DUMPINFMT "%16s %c %[^\n]\n" /* inverse for scanf */ - #endif /* !_DUMPRESTORE_H_ */