-/*
- * Copyright (C) 1998, 1989 Transarc Corporation - All rights reserved
- *
- * (C) COPYRIGHT IBM CORPORATION 1987, 1988
- * LICENSED MATERIALS - PROPERTY OF IBM
- *
- *
+/*
+ * Copyright 2000, International Business Machines Corporation and others.
+ * All Rights Reserved.
+ *
+ * This software has been released under the terms of the IBM Public
+ * License. For details, see the LICENSE file in the top-level source
+ * directory or online at http://www.openafs.org/dl/license10.html
*/
+
#ifndef __SMB_IOCONS_H_ENV_
#define __SMB_IOCONS_H_ENV_ 1
} chservinfo_t;
struct gaginfo {
- unsigned long showflags, logflags, logwritethruflag, spare[3];
+ afs_uint32 showflags, logflags, logwritethruflag, spare[3];
unsigned char spare2[128];
};
int sb_default;
};
-#define CM_IOCTLCACHEPARMS 16
-typedef struct cm_cacheParms {
- long parms[CM_IOCTLCACHEPARMS];
-} cm_cacheParms_t;
-
/* set cell flags */
#define CM_SETCELLFLAG_SUID 2
#define VIOCNEWGETTOK 0x1f
#define VIOCDELTOK 0x20
#define VIOCDELALLTOK 0x21
-
+#define VIOC_ISSYMLINK 0x22
#define VIOC_SYMLINK 0x23
#define VIOC_LISTSYMLINK 0x24
#define VIOC_DELSYMLINK 0x25
#define VIOC_MAKESUBMOUNT 0x26
+#define VIOC_GETRXKCRYPT 0x27
+#define VIOC_SETRXKCRYPT 0x28
+#define VIOC_TRACEMEMDUMP 0x29
+#define VIOC_SHUTDOWN 0x2a
+#define VIOC_FLUSHALL 0x2b
+#define VIOCGETFID 0x2c
+#define VIOCGETOWNER 0x2d
+#define VIOC_RXSTAT_PROC 0x2e
+#define VIOC_RXSTAT_PEER 0x2f
+#define VIOC_UUIDCTL 0x30
+#define VIOC_PATH_AVAILABILITY 0x31
+#define VIOC_GETFILETYPE 0x32
+#define VIOC_UNICODECTL 0x33
+#define VIOC_SETOWNER 0x34
+#define VIOC_SETGROUP 0x35
+#define VIOC_FS_CMD 0x36
+#define VIOCNEWCELL2 0x37
+
+#define VIOC_VOLSTAT_TEST 0x3F
+
+#define VIOC_NEWCELL2_FLAG_LINKED 0x1
+#define VIOC_NEWCELL2_FLAG_USEDNS 0x2
+#define VIOC_NEWCELL2_FLAG_USEREG 0x4
+
+/* magic file name for ioctl opens */
+#define CM_IOCTL_FILENAME "\\_._AFS_IOCTL_._" /* double backslashes for C compiler */
+#define CM_IOCTL_FILENAME_NOSLASH "_._AFS_IOCTL_._"
+
+/* max parms for ioctl, in either direction */
+#define CM_IOCTL_MAXDATA 8192*2
+#define CM_IOCTL_MAXPROCS 64
#endif /* __SMB_IOCONS_H_ENV_ */