summaryrefslogtreecommitdiffstats
path: root/private/utils/ntbackup/inc/nov386.h
blob: 8eaf642f5fe3c699838a08363c043d1ca947c244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
Copyright(c) Maynard Electronics, Inc. 1984-89


     Name:         nov386.h

     Date Updated: $./FDT$ $./FTM$

     Description:  Definitions/macros for NetWare 386.



	$Log:   G:/LOGFILES/NOV386.H_V  $
 * 
 *    Rev 1.0   09 May 1991 13:32:26   HUNTER
 * Initial revision.

**/
/* $end$ */

#ifndef nov386_h
#define nov386_h


/*
 * These bits have been added in NetWare 386 and reside in the new additional
 * 16-bits of attributes kept for '386 files and directories. (Stored in the
 * "attributes_386" field of the NetWare 386 info for FDBs and DDBs.)
 */
#define NOV_IMM_PURGE    0x0001    /* Purge immediate  */
#define NOV_REN_INHIBIT  0x0002    /* Rename inhibit   */
#define NOV_DEL_INHIBIT  0x0004    /* Delete inhibit   */
#define NOV_CPY_INHIBIT  0x0008    /* Copy inhibit     */


/*
 * Additional information kept by NetWare 386 for directories that
 * we'll add to the DDB.
 */
typedef struct NOVELL_386_DIR {
     BOOLEAN info_valid ;          /* TRUE when info below is valid   */
     UINT32  maximum_space ;       /* Max disk space allowed for dir  */
     UINT16  attributes_386 ;      /* Most sig 16 bits of 32-bit attr */
     UINT8   extend_attr ;         /* Most sig byte of low 16 bits    */
     UINT8   inherited_rights ;    /* Most sig byte of rights mask    */
} NOVELL_386_DIR ;


/*
 * Additional information kept by NetWare 386 for files that we'll keep
 * in the FDB.
 */
typedef struct NOVELL_386_FILE {
     BOOLEAN info_valid ;          /* TRUE when info below is valid   */
     UINT16  creation_time ;
     UINT32  archiver_id ;
     UINT16  attributes_386 ;      /* Most sig 16 bits of 32-bit attr */
     UINT32  last_modifier_id ;
     UINT32  trust_fork_size ;     /* Trustee info                    */
     UINT32  trust_fork_offset ;
     UINT8   trust_fork_format ;   /* See NOVCOM.H for trust formats  */
     UINT16  inherited_rights ;    /* Rights mask--new for files      */    
} NOVELL_386_FILE ;



#endif