# 2.11BSD#431 - /usr/include/protocols/dumprestor.h

##### Variables

    spcl              X

##### Macros

    CHECKSUM          X
    DUMPINFMT         X
    DUMPOUTFMT        X
    MAGIC             X
    MLEN              X
    MSIZ              X
    NFS_MAGIC         X
    NTREC             X
    OFS_MAGIC         X
    TS_ADDR           X
    TS_BITS           X
    TS_CLRI           X
    TS_END            X
    TS_INODE          X
    TS_TAPE           X

##### struct's

    idates            X
    spcl              X

       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; used 151 times

- in /usr/src/old/dump/dumpdir.c line 73-79(4), 100-112(4), 118-125(4), 181, 189, 204-206(2), 466, 472
- in /usr/src/old/dump/dumpitime.c line 65, 78-80(2), 95, 114, 124
- in /usr/src/old/dump/dumpmain.c line 18, 139-140(2), 196-199(3)
- in /usr/src/old/dump/dumptape.c line 17, 30, 233-234(2)
- in /usr/src/old/dump/dumptraverse.c line 72, 100-101(2), 140-142(3), 156-161(2), 178-182(3), 192-200(6)
- in /usr/src/sbin/dump/dumpdir.c line 81-87(4), 110, 119-127(3), 133-140(4), 216, 224, 239-241(2), 494, 500
- in /usr/src/sbin/dump/dumpitime.c line 63, 77-79(2), 95, 114, 124
- in /usr/src/sbin/dump/dumpmain.c line 23, 71-72(2), 209-211(2), 304-307(3)
- in /usr/src/sbin/dump/dumptape.c line 82, 96, 292-293(2)
- in /usr/src/sbin/dump/dumptraverse.c line 73, 91, 144-146(3), 160-165(2), 182-186(3), 196-204(6)
- in /usr/src/sbin/restor/restor.c line 199-212(5), 243-258(6), 270-273(3), 281-285(3), 295-296(3), 303, 347-364(6), 370, 384, 392-398(3), 404-407(2), 450, 458-478(7), 510, 519, 535-537(2), 1235, 1244

#### Defined struct's

idates defined in line 38; used 62 times

- in /usr/src/old/dump/dump.h line 110(2), 116(2)
- in /usr/src/old/dump/dumpitime.c line 16(2), 49(4), 56(2), 87(2), 109(4), 129(2), 141(2), 168-169(4), 200(2)
- in /usr/src/old/dump/dumpoptr.c line 284(2), 290(2), 319(2)
- in /usr/src/sbin/dump/dump.h line 105(2), 111(2)
- in /usr/src/sbin/dump/dumpitime.c line 47(4), 54(2), 87(2), 109(4), 129(2), 141(2), 163(2)
- in /usr/src/sbin/dump/dumpoptr.c line 272(2), 278(2), 307(2)

spcl defined in line 24; used 46 times

- in /usr/src/old/dump/dumpdir.c line 178(2), 222-226(4), 390(2), 402(2), 427(2), 436(2)
- in /usr/src/sbin/dump/dumpdir.c line 213(2), 257-261(4), 412(2), 419(2), 443(2), 468(2), 477(2)
- in /usr/src/sbin/restor/restor.c line 507(2), 554-558(4), 927(2), 937(2), 958(2), 983(2), 992(2)

#### Defined macros

CHECKSUM defined in line 22; used 5 times

- in /usr/src/old/dump/dumpdir.c line 419
- in /usr/src/old/dump/dumptraverse.c line 199
- in /usr/src/sbin/dump/dumpdir.c line 460
- in /usr/src/sbin/dump/dumptraverse.c line 203
- in /usr/src/sbin/restor/restor.c line 975

DUMPINFMT defined in line 46; used 2 times

- in /usr/src/old/dump/dumpitime.c line 205
- in /usr/src/sbin/dump/dumpitime.c line 168

DUMPOUTFMT defined in line 44; used 2 times

- in /usr/src/old/dump/dumpitime.c line 131
- in /usr/src/sbin/dump/dumpitime.c line 131

MAGIC defined in line 21; used 2 times

- in /usr/src/old/dump/dumpdir.c line 393
- in /usr/src/old/dump/dumptraverse.c line 193

MLEN defined in line 10; used 15 times

- in /usr/src/old/dump/dump.h line 26-27(2)
- in /usr/src/old/dump/dumpdir.c line 18-19(2), 470
- in /usr/src/old/dump/dumptraverse.c line 27
- in /usr/src/sbin/dump/dump.h line 20-21(2)
- in /usr/src/sbin/dump/dumpdir.c line 16-17(2), 498
- in /usr/src/sbin/dump/dumptraverse.c line 30
- in /usr/src/sbin/restor/restor.c line 32-33(2), 1242

MSIZ defined in line 11; used 17 times

- in /usr/src/old/dump/dump.h line 32-34(3)
- in /usr/src/old/dump/dumpdir.c line 43-44(2)
- in /usr/src/old/dump/dumpitime.c line 238
- in /usr/src/old/dump/dumptraverse.c line 173, 275
- in /usr/src/sbin/dump/dump.h line 26-28(3)
- in /usr/src/sbin/dump/dumpdir.c line 48-49(2)
- in /usr/src/sbin/dump/dumpitime.c line 201
- in /usr/src/sbin/dump/dumptraverse.c line 177
- in /usr/src/sbin/restor/restor.c line 91-93(2)

NFS_MAGIC defined in line 20; used 3 times

- in /usr/src/sbin/dump/dumpdir.c line 428
- in /usr/src/sbin/dump/dumptraverse.c line 197
- in /usr/src/sbin/restor/restor.c line 946

NTREC defined in line 9; used 46 times

- in /usr/src/old/dump/dumpdir.c line 47-48(2), 224-232(4), 260
- in /usr/src/old/dump/dumpmain.c line 174, 197
- in /usr/src/old/dump/dumptape.c line 4-5(2), 18, 31, 42-47(2), 83
- in /usr/src/sbin/dump/dumpdir.c line 52-53(2), 259-270(5)
- in /usr/src/sbin/dump/dumpmain.c line 146(2), 265, 278, 305
- in /usr/src/sbin/dump/dumprmt.c line 106
- in /usr/src/sbin/dump/dumptape.c line 15, 35, 68-69(2), 83, 97, 139-142(2), 424
- in /usr/src/sbin/restor/restor.c line 20, 96-97(2), 556-567(5)

OFS_MAGIC defined in line 19; used 3 times

- in line 21
- in /usr/src/sbin/dump/dumpdir.c line 423
- in /usr/src/sbin/restor/restor.c line 941

TS_ADDR defined in line 16; used 8 times

- in /usr/src/old/dump/dumpdir.c line 188, 206
- in /usr/src/old/dump/dumptraverse.c line 72
- in /usr/src/sbin/dump/dumpdir.c line 223, 241
- in /usr/src/sbin/dump/dumptraverse.c line 73
- in /usr/src/sbin/restor/restor.c line 518, 537

TS_BITS defined in line 15; used 7 times

- in /usr/src/old/dump/dumpdir.c line 104
- in /usr/src/old/dump/dumptraverse.c line 137
- in /usr/src/sbin/dump/dumpdir.c line 119
- in /usr/src/sbin/dump/dumptraverse.c line 141
- in /usr/src/sbin/restor/restor.c line 258, 384, 458

TS_CLRI defined in line 18; used 6 times

- in /usr/src/old/dump/dumpdir.c line 108
- in /usr/src/old/dump/dumpmain.c line 188
- in /usr/src/sbin/dump/dumpdir.c line 123
- in /usr/src/sbin/dump/dumpmain.c line 296
- in /usr/src/sbin/restor/restor.c line 370, 462

TS_END defined in line 17; used 4 times

- in /usr/src/old/dump/dumpmain.c line 196
- in /usr/src/sbin/dump/dumpmain.c line 304
- in /usr/src/sbin/restor/restor.c line 273, 364

TS_INODE defined in line 14; used 8 times

- in /usr/src/old/dump/dumpdir.c line 112
- in /usr/src/old/dump/dumptraverse.c line 141
- in /usr/src/sbin/dump/dumpdir.c line 127
- in /usr/src/sbin/dump/dumptraverse.c line 145
- in /usr/src/sbin/restor/restor.c line 254, 281, 392, 466

TS_TAPE defined in line 13; used 5 times

- in /usr/src/old/dump/dumpdir.c line 440
- in /usr/src/old/dump/dumptape.c line 234
- in /usr/src/sbin/dump/dumpdir.c line 481
- in /usr/src/sbin/dump/dumptape.c line 293
- in /usr/src/sbin/restor/restor.c line 996

#### Usage of this include

dumprestor.h used 6 times

- in /usr/src/old/dump/dump.h line 23
- in /usr/src/old/dump/dumpdir.c line 7
- in /usr/src/sbin/dump/dump.h line 17
- in /usr/src/sbin/dump/dumpdir.c line 7
- in /usr/src/sbin/dump/dumprmt.c line 46
- in /usr/src/sbin/restor/restor.c line 30

Last modified: 1990-05-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1526 |