/**/ /***************************************************************************/ /** **/ /** © 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:38:06 by OpenVMS SDL EV3-3 */ /* Source: 11-FEB-2004 12:47:04 $1$DGA7274:[LIB_H.SRC]ACMEAGENT_CB_DEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $ACMEAGENT_CB_DEF IDENT X-1 ***/ #ifndef __ACMEAGENT_CB_DEF_LOADED #define __ACMEAGENT_CB_DEF_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 /*+ */ /* */ /* ACM Kernel Callback Routines Protypes */ /* */ /*- */ /* */ /* Acquire ACME Resource */ /* */ /* acme$cb_acquire_resource wqe, resource_type, resource_value */ /* */ /* wqe = address of ACM Work Queue Entry */ /* resource_type = type of (ACME defined) resource to allocate */ /* resource_value = address of quadword to receive the value of resource allocated */ /* */ #define acme$cb_acquire_resource ACME$CB_ACQUIRE_RESOURCE int acme$cb_acquire_resource(__unknown_params); /* */ /* Acquire ACME AST Context */ /* */ /* acme$cb_acquire_acme_ast wqe, ast_handler, ast_context, */ /* ast_routine, ast_parameter */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_handler = address of 64-bit pointer to receive AST handler */ /* (interceptor procedure) address */ /* ast_context = address of quadword to receive AST parameter value */ /* ast_routine = address of ACME's AST service routine to invoke upon */ /* AST delivery */ /* ast_parameter = address of quadword containing ACME specific value to */ /* pass to the ACME's AST service routine upon AST delivery */ /* */ #define acme$cb_acquire_acme_ast ACME$CB_ACQUIRE_ACME_AST int acme$cb_acquire_acme_ast(__unknown_params); /* */ /* Acquire ACME RMS AST Context */ /* */ /* acme$cb_acquire_acme_rmsast wqe, ast_handler, ast_context */ /* ast_routine, ast_parameter */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_handler = address of 64-bit pointer to receive AST handler */ /* (interceptor procedure) address */ /* ast_context = address of quadword to receive AST parameter value */ /* ast_routine = address of ACME's AST service routine to invoke upon */ /* AST delivery */ /* ast_parameter = address of longword containing ACME specific value to */ /* pass to the ACME's AST service routine upon AST delivery */ /* */ #define acme$cb_acquire_acme_rmsast ACME$CB_ACQUIRE_ACME_RMSAST int acme$cb_acquire_acme_rmsast(__unknown_params); /* */ /* Acquire WQE AST Context */ /* */ /* acme$cb_acquire_wqe_ast wqe, ast_handler, ast_context, */ /* ast_routine, ast_parameter */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_handler = address of 64-bit pointer to receive AST handler */ /* (interceptor procedure) address */ /* ast_context = address of quadword to receive AST parameter value */ /* ast_routine = address of ACME's AST service routine to invoke upon */ /* AST delivery */ /* ast_parameter = address of quadword containing ACME specific value to */ /* pass to the ACME's AST service routine upon AST delivery */ /* */ #define acme$cb_acquire_wqe_ast ACME$CB_ACQUIRE_WQE_AST int acme$cb_acquire_wqe_ast(__unknown_params); /* */ /* Acquire WQE RMS AST Context */ /* */ /* acme$cb_acquire_wqe_rmsast wqe, ast_handler, ast_context */ /* ast_routine, ast_parameter */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_handler = address of 64-bit pointer to receive AST handler */ /* (interceptor procedure) address */ /* ast_context = address of quadword to receive AST parameter value */ /* ast_routine = address of ACME's AST service routine to invoke upon */ /* AST delivery */ /* ast_parameter = address of longword containing ACME specific value to */ /* pass to the ACME's AST service routine upon AST delivery */ /* */ #define acme$cb_acquire_wqe_rmsast ACME$CB_ACQUIRE_WQE_RMSAST int acme$cb_acquire_wqe_rmsast(__unknown_params); /* */ /* Allocate ACME VM */ /* */ /* acme$cb_allocate_acme_vm wqe, segment_size, segment_address */ /* */ /* wqe = address of ACM Work Queue Entry */ /* segment_size = number of bytes to allocated */ /* segment_address = address of first byte allocated */ /* */ #define acme$cb_allocate_acme_vm ACME$CB_ALLOCATE_ACME_VM int acme$cb_allocate_acme_vm(__unknown_params); /* */ /* Allocate WQE VM */ /* */ /* acme$cb_allocate_wqe_vm wqe, segment_size, segment_address */ /* */ /* wqe = address of ACM Work Queue Entry */ /* segment_size = number of bytes to allocated */ /* segment_address = address of first byte allocated */ /* */ #define acme$cb_allocate_wqe_vm ACME$CB_ALLOCATE_WQE_VM int acme$cb_allocate_wqe_vm(__unknown_params); /* */ /* Cancel Dialogue */ /* */ /* acme$cb_cancel_dialogue wqe */ /* */ /* wqe = address of ACM Work Queue Entry */ /* */ #define acme$cb_cancel_dialogue ACME$CB_CANCEL_DIALOGUE int acme$cb_cancel_dialogue(__unknown_params); /* */ /* Deallocate ACME VM */ /* */ /* acme$cb_deallocate_acme_vm wqe, segment_size, segment_address */ /* */ /* wqe = address of ACM Work Queue Entry */ /* segment_size = number of bytes to deallocate */ /* segment_address = address of first byte to deallocate */ /* */ #define acme$cb_deallocate_acme_vm ACME$CB_DEALLOCATE_ACME_VM int acme$cb_deallocate_acme_vm(__unknown_params); /* */ /* Deallocate WQE VM */ /* */ /* acme$cb_deallocate_wqe_vm wqe, segment_size, segment_address */ /* */ /* wqe = address of ACM Work Queue Entry */ /* segment_size = number of bytes to deallocate */ /* segment_address = address of first byte to deallocate */ /* */ #define acme$cb_deallocate_wqe_vm ACME$CB_DEALLOCATE_WQE_VM int acme$cb_deallocate_wqe_vm(__unknown_params); /* */ /* Format Date and Time */ /* */ /* acme$cb_format_date_time wqe, dt_value, dt_string, dt_len, flags */ /* */ /* wqe = address of ACM Work Queue Entry */ /* dt_value = address of UTC date/time value */ /* dt_string = address of descriptor describing buffer to */ /* receive the formatted date/time string */ /* dt_len = address of word to receive the length (in bytes) */ /* of the formatted date/time string */ /* flags = formatting control flags */ /* */ #define acme$cb_format_date_time ACME$CB_FORMAT_DATE_TIME int acme$cb_format_date_time(__unknown_params); /* */ /* Issue Credentials */ /* */ /* acme$cb_issue_credentials wqe, type, credentials */ /* */ /* wqe = address of ACM Work Queue Entry */ /* type = type of security credentials */ /* credentials = address of descriptor describing security credentials */ /* */ #define acme$cb_issue_credentials ACME$CB_ISSUE_CREDENTIALS int acme$cb_issue_credentials(__unknown_params); /* */ /* Convert a Latin1 string to a UCS string */ /* */ /* acme$cb_latin1_to_ucs wqe, latin1_string, ucs_string, ucs_bytes */ /* */ /* wqe = address of ACM Work Queue Entry */ /* latin1_string = address of descriptor for buffer */ /* holding the Latin-1 encoded string */ /* ucs_string = address of descriptor for buffer */ /* to receive the UCS encoded string */ /* ucs_bytes = length of ucs string (in bytes) */ /* */ #define acme$cb_latin1_to_ucs ACME$CB_LATIN1_TO_UCS int acme$cb_latin1_to_ucs(__unknown_params); /* */ /* Queue Dialogue */ /* */ /* acme$cb_queue_dialogue wqe, flags, item_code, max_length, */ /* data_1, data_2 */ /* */ /* wqe = address of ACM Work Queue Entry */ /* flags = dialogue control flags */ /* item_code = item code to use to tag response */ /* max_length = maximum length of response data */ /* data_1 = prompt/message text */ /* data_2 = prompt/response/message text */ /* */ #define acme$cb_queue_dialogue ACME$CB_QUEUE_DIALOGUE int acme$cb_queue_dialogue(__unknown_params); /* */ /* Release ACME AST Context */ /* */ /* acme$cb_release_acme_ast wqe, ast_context */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_context = AST parameter value */ /* */ #define acme$cb_release_acme_ast ACME$CB_RELEASE_ACME_AST int acme$cb_release_acme_ast(__unknown_params); /* */ /* Release ACME RMS AST Context */ /* */ /* acme$cb_release_acme_rmsast wqe, ast_context */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_context = AST parameter value */ /* */ #define acme$cb_release_acme_rmsast ACME$CB_RELEASE_ACME_RMSAST int acme$cb_release_acme_rmsast(__unknown_params); /* */ /* Release ACME Resource */ /* */ /* acme$cb_release_resource wqe, resource_type, resource_value */ /* */ /* wqe = address of ACM Work Queue Entry */ /* resource_type = type of (ACME defined) resource to allocate */ /* resource_value = address of quadword to receive the value of resource allocated */ /* */ #define acme$cb_release_resource ACME$CB_RELEASE_RESOURCE int acme$cb_release_resource(__unknown_params); /* */ /* Release WQE AST Context */ /* */ /* acme$cb_release_wqe_ast wqe, ast_context */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_context = AST parameter value */ /* */ #define acme$cb_release_wqe_ast ACME$CB_RELEASE_WQE_AST int acme$cb_release_wqe_ast(__unknown_params); /* */ /* Release WQE RMS AST Context */ /* */ /* acme$cb_release_wqe_rmsast wqe, ast_context */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ast_context = AST parameter value */ /* */ #define acme$cb_release_wqe_rmsast ACME$CB_RELEASE_WQE_RMSAST int acme$cb_release_wqe_rmsast(__unknown_params); /* */ /* Report ACME Activity */ /* */ /* acme$cb_report_activity wqe, activity */ /* */ /* wqe = address of ACM Work Queue Entry */ /* activity = address of ACME activity (status information) string */ /* */ #define acme$cb_report_activity ACME$CB_REPORT_ACTIVITY int acme$cb_report_activity(__unknown_params); /* */ /* Report ACME Attributes */ /* */ /* acme$cb_report_attributes wqe, ident, resource_req */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ident = address of descriptor describing ident string */ /* resource_req = address of ACME resource requirements structure */ /* */ #define acme$cb_report_attributes ACME$CB_REPORT_ATTRIBUTES int acme$cb_report_attributes(__unknown_params); /* */ /* Send to Log File */ /* */ /* acme$cb_send_logfile wqe, msgvec */ /* */ /* wqe = address of ACM Work Queue Entry */ /* msgvec = address of $PUTMSG style message vector */ /* actrtn = address of action routine */ /* actprm = parameter to pass to action routine */ /* */ #define acme$cb_send_logfile ACME$CB_SEND_LOGFILE int acme$cb_send_logfile(__unknown_params); /* */ /* Send to Operator */ /* */ /* acme$cb_send_operator wqe, msgtxt */ /* */ /* wqe = address of ACM Work Queue Entry */ /* msgtxt = address of descriptor describing message text */ /* */ #define acme$cb_send_operator ACME$CB_SEND_OPERATOR int acme$cb_send_operator(__unknown_params); /* */ /* Set Secondary (Proctected) Status */ /* */ /* acme$cb_set_2nd_status wqe, status_value */ /* */ /* wqe = address of ACM Work Queue Entry */ /* status_value = specific status value/condition code */ /* */ #define acme$cb_set_2nd_status ACME$CB_SET_2ND_STATUS int acme$cb_set_2nd_status(__unknown_params); /* */ /* Set ACME Status */ /* */ /* acme$cb_set_acme_status wqe, status_value */ /* */ /* wqe = address of ACM Work Queue Entry */ /* status_value = ACME specific status value/condition code */ /* */ #define acme$cb_set_acme_status ACME$CB_SET_ACME_STATUS int acme$cb_set_acme_status(__unknown_params); /* */ /* Set Designated DOI (Accept Request) */ /* */ /* acme$cb_set_designated_doi wqe */ /* */ /* wqe = address of ACM Work Queue Entry */ /* */ #define acme$cb_set_designated_doi ACME$CB_SET_DESIGNATED_DOI int acme$cb_set_designated_doi(__unknown_params); /* */ /* Set Logon Flag */ /* */ /* acme$cb_set_logon_flag wqe, flag */ /* */ /* wqe = address of ACM Work Queue Entry */ /* flag = flag number to set */ /* */ #define acme$cb_set_logon_flag ACME$CB_SET_LOGON_FLAG int acme$cb_set_logon_flag(__unknown_params); /* */ /* Set Non-Native (non-OpenVMS) Logon Statistics */ /* */ /* acme$cb_set_logon_stats_doi wqe, logon_data */ /* */ /* wqe = address of ACM Work Queue Entry */ /* logon_data = address of OpenVMS logon statistics buffer */ /* */ #define acme$cb_set_logon_stats_doi ACME$CB_SET_LOGON_STATS_DOI int acme$cb_set_logon_stats_doi(__unknown_params); /* */ /* Set Native (OpenVMS) Logon Statistics */ /* */ /* acme$cb_set_logon_stats_vms wqe, logon_data */ /* */ /* wqe = address of ACM Work Queue Entry */ /* logon_data = address of OpenVMS logon statistics buffer */ /* */ #define acme$cb_set_logon_stats_vms ACME$CB_SET_LOGON_STATS_VMS int acme$cb_set_logon_stats_vms(__unknown_params); /* */ /* Set Output Item */ /* */ /* acme$cb_set_output_item wqe, entry, data */ /* */ /* wqe = address of ACM Work Queue Entry */ /* entry = address of the item list entry to set */ /* data = address of descriptor describing data for field */ /* */ #define acme$cb_set_output_item ACME$CB_SET_OUTPUT_ITEM int acme$cb_set_output_item(__unknown_params); /* */ /* Set Phase Notification Event */ /* */ /* acme$cb_set_phase_event wqe, event_data */ /* */ /* wqe = address of ACM Work Queue Entry */ /* event_data = prompt/message text */ /* */ #define acme$cb_set_phase_event ACME$CB_SET_PHASE_EVENT int acme$cb_set_phase_event(__unknown_params); /* */ /* Set WQE Flag */ /* */ /* acme$cb_set_wqe_flag wqe, flag */ /* */ /* wqe = address of ACM Work Queue Entry */ /* flag = flag number to set */ /* */ #define acme$cb_set_wqe_flag ACME$CB_SET_WQE_FLAG int acme$cb_set_wqe_flag(__unknown_params); /* */ /* Set WQE Parameter (Item) */ /* */ /* acme$cb_set_wqe_parameter wqe, id, data */ /* */ /* wqe = address of ACM Work Queue Entry */ /* id = id number of parameter (item) field to set */ /* data = address of descriptor describing data for field */ /* */ #define acme$cb_set_wqe_parameter ACME$CB_SET_WQE_PARAMETER int acme$cb_set_wqe_parameter(__unknown_params); /* */ /* Convert a UCS string to a Latin1 string */ /* */ /* acme$cb_ucs_to_latin1 wqe, ucs_string, latin1_string, latin1_bytes */ /* */ /* wqe = address of ACM Work Queue Entry */ /* ucs_string = address of descriptor for buffer */ /* holding the UCS encoded string */ /* latin1_string = address of descriptor for buffer */ /* to receive the Latin-1 encoded string */ /* latin1_bytes = length of latin1 string (in bytes) */ /* */ #define acme$cb_ucs_to_latin1 ACME$CB_UCS_TO_LATIN1 int acme$cb_ucs_to_latin1(__unknown_params); /* */ /* Set New Password Flags */ /* */ /* acme$cb_set_new_pwd_flags wqe, flag */ /* */ /* wqe = address of ACM Work Queue Entry */ /* flag = flag number to set */ /* */ #define acme$cb_set_new_pwd_flags ACME$CB_SET_NEW_PWD_FLAGS int acme$cb_set_new_pwd_flags(__unknown_params); #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 /* __ACMEAGENT_CB_DEF_LOADED */