/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:53 by OpenVMS SDL V3.7 */ /* Source: 06-MAY-2003 07:55:07 $1$DGA8345:[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 */