windows-dfs-support-disable-20050820
[openafs.git] / src / WINNT / afsd / smb_iocons.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef __SMB_IOCONS_H_ENV_
11 #define __SMB_IOCONS_H_ENV_ 1
12
13 /* included in both AFSD and fs commands */
14
15 typedef struct chservinfo {
16         int magic;
17         char tbuffer[128];
18         int tsize;
19         long tinterval;
20         long tflags;
21 } chservinfo_t;
22
23 struct gaginfo {
24         unsigned long showflags, logflags, logwritethruflag, spare[3];
25         unsigned char spare2[128];
26 };
27
28 #define GAGUSER         1
29 #define GAGCONSOLE      2
30
31 struct ClearToken {
32         int AuthHandle;
33         char HandShakeKey[8];
34         int ViceId;
35         int BeginTimestamp;
36         int EndTimestamp;
37 };
38
39 struct sbstruct {
40         int sb_thisfile;
41         int sb_default;
42 };
43
44 #define CM_IOCTLCACHEPARMS              16
45 typedef struct cm_cacheParms {
46         long parms[CM_IOCTLCACHEPARMS];
47 } cm_cacheParms_t;
48
49 /* set cell flags */
50 #define CM_SETCELLFLAG_SUID             2
51
52 #define VIOC_FILE_CELL_NAME             0x1
53 #define VIOCGETAL                       0x2
54 #define VIOCSETAL                       0x3
55 #define VIOC_FLUSHVOLUME                0x4
56 #define VIOCFLUSH                       0x5
57 #define VIOCSETVOLSTAT                  0x6
58 #define VIOCGETVOLSTAT                  0x7
59 #define VIOCWHEREIS                     0x8
60 #define VIOC_AFS_STAT_MT_PT             0x9
61 #define VIOC_AFS_DELETE_MT_PT           0xa
62 #define VIOCCKSERV                      0xb
63 #define VIOC_GAG                        0xc
64 #define VIOCCKBACK                      0xd
65 #define VIOCSETCACHESIZE                0xe
66 #define VIOCGETCACHEPARMS               0xf
67 #define VIOCGETCELL                     0x10
68 #define VIOCNEWCELL                     0x11
69 #define VIOC_GET_WS_CELL                0x12
70 #define VIOC_AFS_MARINER_HOST           0x13
71 #define VIOC_AFS_SYSNAME                0x14
72 #define VIOC_EXPORTAFS                  0x15
73 #define VIOC_GETCELLSTATUS              0x16
74 #define VIOC_SETCELLSTATUS              0x17
75 #define VIOC_SETSPREFS                  0x18
76 #define VIOC_GETSPREFS                  0x19
77 #define VIOC_STOREBEHIND                0x1a
78 #define VIOC_AFS_CREATE_MT_PT           0x1b
79 #define VIOC_TRACECTL                   0x1c
80 #define VIOCSETTOK                      0x1d
81 #define VIOCGETTOK                      0x1e
82 #define VIOCNEWGETTOK                   0x1f
83 #define VIOCDELTOK                      0x20
84 #define VIOCDELALLTOK                   0x21
85 #define VIOC_ISSYMLINK                  0x22
86 #define VIOC_SYMLINK                    0x23
87 #define VIOC_LISTSYMLINK                0x24
88 #define VIOC_DELSYMLINK                 0x25
89 #define VIOC_MAKESUBMOUNT               0x26
90 #define VIOC_GETRXKCRYPT                0x27
91 #define VIOC_SETRXKCRYPT                0x28
92 #define VIOC_TRACEMEMDUMP               0x29
93 #define VIOC_SHUTDOWN                   0x2a
94 #endif /*  __SMB_IOCONS_H_ENV_ */