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

spcl defined in line 36; never used

Defined struct's

idates defined in line 38; never used
spcl defined in line 24; never used

Defined macros

CHECKSUM defined in line 22; never used
DUMPINFMT defined in line 46; never used
DUMPOUTFMT defined in line 44; never used
MAGIC defined in line 21; never used
MLEN defined in line 10; never used
MSIZ defined in line 11; never used
NFS_MAGIC defined in line 20; never used
NTREC defined in line 9; never used
OFS_MAGIC defined in line 19; used 1 times
  • in line 21
TS_ADDR defined in line 16; never used
TS_BITS defined in line 15; never used
TS_CLRI defined in line 18; never used
TS_END defined in line 17; never used
TS_INODE defined in line 14; never used
TS_TAPE defined in line 13; never used
Last modified: 1990-05-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1731
Valid CSS Valid XHTML 1.0 Strict