/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:14 by OpenVMS SDL EV3-3 */ /* Source: 06-MAY-2003 07:55:07 $1$DGA7274:[LIB_H.SRC]DEVCFG_CBKDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $DEVCFG_CBKDEF ***/ #ifndef __DEVCFG_CBKDEF_LOADED #define __DEVCFG_CBKDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* DEVCFG_CBK - Devconfig call back */ /* */ /* The routines ioc_std$devconfig_register and ioc_std$devconfig_deregister */ /* maintain a singly-linked list of device configure call back structure */ /* (DEVCFG_CBK structures). */ /* A new entry is added by a successful call to the registration routine and */ /* an existing entry can be removed by calling the deregistration routine. */ /* The registration routine would minimally specify a device class */ /* and a callback routine address. Subsequently, when a new device */ /* is configured of that class, the specified callback routine would be */ /* called. */ /* The head of the list is stored at IOC$GL_DEVCFG_CBK. */ /*- */ #ifdef __cplusplus /* Define structure prototypes */ struct _ucb; #endif /* #ifdef __cplusplus */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _devcfg_cbk { #pragma __nomember_alignment struct _devcfg_cbk *devcfg_cbk$ps_flink; /* Forward pointer */ unsigned int devcfg_cbk$l_reserved1; /* Reserved longword */ unsigned short int devcfg_cbk$w_size; /* Structure size */ unsigned char devcfg_cbk$b_type; /* Structure type, DYN$C_MISC */ unsigned char devcfg_cbk$b_subtype; /* Structure subtype, DYN$C_DEVCFG_CBK */ unsigned int devcfg_cbk$l_flags; /* Validated flag specified in registration call */ /* may contain another flag in the future */ unsigned int devcfg_cbk$l_devclass; /* Device class specified in registration call */ void (*devcfg_cbk$ps_devconfigured)(); /* Callback routine specified */ /* in registration call */ unsigned __int64 devcfg_cbk$q_user_param; /* Parameter specified in registration call */ unsigned int devcfg_cbk$l_num_calls; /* Number of times this call back invoked (diagnosis) */ struct _ucb *devcfg_cbk$ps_last_ucb; /* Last UCB address for which call back invoked (diagnosis) */ } DEVCFG_CBK; #define DEVCFG_CBK$K_LENGTH 40 /* Size of fixed size DEVCFG_CBK */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __DEVCFG_CBKDEF_LOADED */