1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)dumprestor.h	5.1 (Berkeley) 12/13/86
   7:  */
   8: 
   9: #define NTREC       10
  10: #define MLEN        16
  11: #define MSIZ        4096
  12: 
  13: #define TS_TAPE     1
  14: #define TS_INODE    2
  15: #define TS_BITS     3
  16: #define TS_ADDR     4
  17: #define TS_END      5
  18: #define TS_CLRI     6
  19: #define OFS_MAGIC   (int)60011
  20: #define NFS_MAGIC   (int)60012
  21: #define MAGIC       OFS_MAGIC
  22: #define CHECKSUM    (int)84446
  23: 
  24: struct  spcl {
  25:     int c_type;
  26:     time_t  c_date;
  27:     time_t  c_ddate;
  28:     int c_volume;
  29:     daddr_t c_tapea;
  30:     ino_t   c_inumber;
  31:     int c_magic;
  32:     int c_checksum;
  33:     struct  dinode  c_dinode;
  34:     int c_count;
  35:     char    c_addr[DEV_BSIZE];
  36: } spcl;
  37: 
  38: struct  idates {
  39:     char    id_name[16];
  40:     char    id_incno;
  41:     time_t  id_ddate;
  42: };
  43: 
  44: #define DUMPOUTFMT  "%-16s %c %s"       /* for printf */
  45:                         /* name, incno, ctime(date) */
  46: #define DUMPINFMT   "%16s %c %[^\n]\n"  /* inverse for scanf */

Defined variables

Defined struct's

idates defined in line 38; used 62 times
spcl defined in line 24; used 46 times

Defined macros

DUMPINFMT defined in line 46; used 2 times
DUMPOUTFMT defined in line 44; used 2 times
MAGIC defined in line 21; used 2 times
OFS_MAGIC defined in line 19; used 3 times

Usage of this include

Last modified: 1990-05-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1556
Valid CSS Valid XHTML 1.0 Strict