/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:46 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:35:08 _$11$DUA933:[BUILD.SDL]SMB$ROUTINES.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE SMB$ROUTINES IDENT X-1 ***/ #ifndef __SMB$ROUTINES_LOADED #define __SMB$ROUTINES_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* */ /* Symbiont/Job Controller Interface (SMB) Routines */ /* */ /* */ /* SMB$CHECK_FOR_MESSAGE - Check for Message from Job Controller */ /* */ /* status = SMB$CHECK_FOR_MESSAGE () */ /* */ unsigned int smb$check_for_message(void); /* */ /* SMB$INITIALIZE - Initialize User-Written Symbiont */ /* */ /* status = SMB$INITIALIZE (structure_level [,ast_routine] [,streams]) */ /* */ /* structure_level - Version of the job-controller/symbiont interface */ /* ast_routine - Message-handling AST routine */ /* streams - Maximum number of streams to support */ /* */ unsigned int smb$initialize(__unknown_params); /* */ /* SMB$READ_MESSAGE - Obtain Message Sent by Job Controller */ /* */ /* status = SMB$READ_MESSAGE (stream, buffer, request) */ /* */ /* stream - Stream number for message */ /* buffer - Buffer into which message is written */ /* request - Code that identifies the request */ /* */ unsigned int smb$read_message(__unknown_params); /* */ /* SMB$READ_MESSAGE_ITEM - Parse Next Item from Message Buffer */ /* */ /* status = SMB$READ_MESSAGE_ITEM (message, context, item_code, buffer */ /* [, size]) */ /* */ /* message - Message items to read */ /* context - Context value */ /* item_code - Item code of message read */ /* buffer - Message item */ /* size - Size of message item */ /* */ unsigned int smb$read_message_item(__unknown_params); /* */ /* SMB$SEND_TO_JOBCTL - Send Message to Job Controller */ /* */ /* status = SMB$SEND_TO_JOBCTL (stream [,request] [,accounting] */ /* [,checkpoint] [,device_status] [,error]) */ /* */ /* stream - Number of stream to which message refers */ /* request - Code identifying request being completed */ /* accounting - Accounting information about a task */ /* checkpoint - Checkpoint data about current task */ /* device_status - Status of device served by the symbiont */ /* error - Condition code returned by the requested task */ /* */ unsigned int smb$send_to_jobctl(__unknown_params); #ifdef __cplusplus } #endif #pragma standard #endif /* __SMB$ROUTINES_LOADED */