/*
 * 5799-WZQ (C) COPYRIGHT = NONE
 * LICENSED MATERIALS - PROPERTY OF IBM
 */
/* $Header:ctl_msgs.h 12.0$ */
/* $ACIS:ctl_msgs.h 12.0$ */
/* $Source: /ibm/acis/usr/src/ibm/rvd/h/RCS/ctl_msgs.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidctl_msgs = "$Header:ctl_msgs.h 12.0$";
#endif



/* Copyright 1984 by the Massachusetts Institute of Technology */
/* See permission and disclaimer notice in the file "notice.h" */
#include "notice.h"

/* This file contains the field offset definitions for accessing the
 * control message descriptors, as defined in the file "ctl_msgs.c".
 */

/* add_physical */

#define	ITM_PADD_PASSW 		0
#define	ITM_PADD_FILE 		1
#define	ITM_PADD_BLOCKS 	2
#define	ITM_PADD_CREATED	3
#define	ITM_PADD_MODIFIED	4
#define	ITM_PADD_NONCE		5
#define	ITM_PADD_AUTH		6

/* add_virtual */

#define	ITM_VADD_PASSW 		0
#define	ITM_VADD_PHYS 		1
#define	ITM_VADD_NAME 		2
#define	ITM_VADD_UID 		3
#define	ITM_VADD_OWN 		4
#define	ITM_VADD_ROCAP 		5
#define	ITM_VADD_EXCAP 		6
#define	ITM_VADD_SHCAP 		7
#define	ITM_VADD_MODES 		8
#define	ITM_VADD_BLOCKS 	9
#define	ITM_VADD_OWNH 		10
#define	ITM_VADD_OFF		11
#define	ITM_VADD_CREATED	12
#define	ITM_VADD_MODIFIED	13
#define	ITM_VADD_NONCE		14
#define	ITM_VADD_AUTH		15

/* delete_physical */

#define	ITM_PDEL_PASSW 		0
#define	ITM_PDEL_NAME 		1
#define	ITM_PDEL_NONCE		2
#define	ITM_PDEL_AUTH		3

/* use_physical */

#define	ITM_PUSE_PASSW 		0
#define	ITM_PUSE_NAME 		1
#define	ITM_PUSE_NONCE		2
#define	ITM_PUSE_AUTH		3

/* disuse_physical */

#define	ITM_PDUSE_PASSW 	0
#define	ITM_PDUSE_NAME 		1
#define	ITM_PDUSE_NONCE		2
#define	ITM_PDUSE_AUTH		3

/* delete_virtual */

#define	ITM_VDEL_PASSW 		0
#define	ITM_VDEL_NAME 		1
#define	ITM_VDEL_UID 		2
#define	ITM_VDEL_NONCE		3
#define	ITM_VDEL_AUTH		4

/* modify_virtual */

#define	ITM_VMOD_PASSW 		0
#define	ITM_VMOD_NAME 		1
#define	ITM_VMOD_UID 		2
#define	ITM_VMOD_OWN 		3
#define	ITM_VMOD_ROCAP 		4
#define	ITM_VMOD_EXCAP 		5
#define	ITM_VMOD_SHCAP 		6
#define	ITM_VMOD_MODES 		7
#define	ITM_VMOD_BLOCKS 	8
#define	ITM_VMOD_OWNH 		9
#define	ITM_VMOD_CREATED	10
#define	ITM_VMOD_MODIFIED	11
#define	ITM_VMOD_NONCE		12
#define	ITM_VMOD_AUTH		13

/* exchange_names */

#define	ITM_VDEX_PASSW1 	0
#define	ITM_VDEX_NAME1 		1
#define	ITM_VDEX_UID1 		2
#define	ITM_VDEX_PASSW2 	3
#define	ITM_VDEX_NAME2 		4
#define	ITM_VDEX_UID2 		5
#define	ITM_VDEX_NONCE		6
#define	ITM_VDEX_AUTH		7

/* spindown_virtual */

#define	ITM_VDOWN_PASSW 	0
#define	ITM_VDOWN_NAME 		1
#define	ITM_VDOWN_NONCE		2
#define	ITM_VDOWN_AUTH		3

/* spindown_host */

#define	ITM_HDOWN_PASSW 	0
#define	ITM_HDOWN_NAME 		1
#define	ITM_HDOWN_NONCE		2
#define	ITM_HDOWN_AUTH		3

/* display_virtual */

#define	ITM_VDISP_NAME 		0
#define	ITM_VDISP_HOST		1
#define	ITM_VDISP_FILE		2
#define	ITM_VDISP_START		3
#define	ITM_VDISP_PASSW		4
#define	ITM_VDISP_NONCE		5
#define	ITM_VDISP_AUTH		6

/* display_active */

#define	ITM_ADISP_FILE		0
#define	ITM_ADISP_START		1
#define	ITM_ADISP_PASSW		2
#define	ITM_ADISP_NONCE		3

/* log_ext */

#define	ITM_LEXT_PASSW		0
#define	ITM_LEXT_NONCE		1
#define	ITM_LEXT_AUTH		2

/* log_all */

#define	ITM_LALL_PASSW		0
#define	ITM_LALL_NONCE		1
#define	ITM_LALL_AUTH		2

/* log_trunc */

#define	ITM_LTRUNC_PASSW	0
#define	ITM_LTRUNC_NONCE	1

/* log_level */

#define	ITM_LLEV_LEV		0
#define	ITM_LLEV_PASSW		1
#define	ITM_LLEV_NONCE		2
#define	ITM_LLEV_AUTH		3

/* shutdown */

#define	ITM_SHUT_PASSW 		0
#define	ITM_SHUT_NONCE		1
#define	ITM_SHUT_AUTH		2

/* spin_modes */

#define	ITM_SMOD_PASSW		0
#define	ITM_SMOD_NAME		1
#define	ITM_SMOD_MODES		2
#define	ITM_SMOD_NONCE		3
#define	ITM_SMOD_AUTH		4

/* set_message */

#define	ITM_SETM_PASSW		0
#define	ITM_SETM_MESSAGE	1
#define	ITM_SETM_NONCE		2
#define	ITM_SETM_AUTH		3

/* get_message */
#define	ITM_GETM_NONCE		0

/* require_authorization */
#define	ITM_RAUTH_NONCE		0

#ifdef	TEST_SERVER
/* test_enter */
#define	ITM_TENTER_PASSW	0
#define	ITM_TENTER_SPIN_ERROR	1
#define	ITM_TENTER_READ_ERROR	2
#define	ITM_TENTER_WRITE_ERROR	3
#define	ITM_TENTER_NONCE	4

/* test_exit */
#define	ITM_TEXIT_NONCE		0
#endif	TEST_SERVER
