/* module VCONS_ROUTINES.H "X-1" * ************************************************************************* * * * © Copyright 2004 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. * * * ************************************************************************* *++ * FACILITY: * * VMS Executive (LIB_H) * * ABSTRACT: * * This module contains the C function prototypes for the fPars * virtual console routines. * * AUTHOR: * * Karen L. Noel * * CREATION DATE: 15-Jan-2004 * * MODIFICATION HISTORY: * *-- */ #ifndef __VCONS__ROUTINES_LOADED #define __VCONS__ROUTINES_LOADED 1 #pragma __required_pointer_size __save #pragma __required_pointer_size __long /* * Define all types that are used in the following function prototypes. */ #include /* * Declare routines called from within this mdoule */ uint64 exe$call_vcons_service (uint64 func_id, void * buffer, uint64 size, uint64 fpar_id, uint64 * return_bytes); /* * Static function definitions */ #define VCONS$K_OUTPUT 2 static uint64 vcons$output (void * out_buffer, uint64 buffer_size, uint64 * bytes_written) { return ( exe$call_vcons_service (VCONS$K_OUTPUT, out_buffer, buffer_size, 0, bytes_written) ); } #define VCONS$K_INPUT 3 static uint64 vcons$input (void * in_buffer, uint64 buffer_size, uint64 * bytes_read) { return ( exe$call_vcons_service (VCONS$K_INPUT, in_buffer, buffer_size, 0, bytes_read) ); } #pragma __required_pointer_size __restore #endif /* __IA64_PAL_ROUTINES_LOADED */