HP Guardian Errors Manual page 244

Procedure errors and messages manual
Table of Contents

Advertisement

INT cipri;
INT ciinfile [0:11];
INT cioutfile [0:11];
INT loggedon;
INT username [0:7];
END;
The $CMON reply indicates whether the user can log on and contains an optional display message.
The form of the reply message is:
STRUCT prelogon^reply;
BEGIN
INT replycode;
STRING replytext [0:n];
END
The length of the message is 2 bytes plus the reply-text length in bytes. The length of the reply text
is implied in the reply count used when making a reply. If reply-count=2, no text is displayed.
-60
CONFIGURATION
Cause This message is sent to the $CMON process just before either an interactive TACL process
attempts to log on from the logged-off state or a noninteractive TACL process starts. You can set
config^request^type to 1 to obtain configuration data after log on. If requestcmonuserconfig is set
to 1 in the reply message, TACL should request $CMON for user configuration data after log on.
For more information on writing a command interpreter, refer to the Guardian Programmer's Guide.
If the $CMON process is not running or is running too slowly, the TACL configuration remains
unchanged from its previous values.
Format The format of the configuration message is:
STRUCT config^msg;
BEGIN
INT msgcode;
INT userid;
INT cipri;
INT ciinfile [0:11];
INT cioutfile [0:11];
INT config^request^type; ![27] configuration request type
END;
The length of the message is 56 bytes.
The $CMON reply contains configuration information or a display message.
The format of the configuration information message is as follows:
STRUCT config^reply;
BEGIN
INT replycode;
INT count;
244 Interprocess Command Interpreter Messages
! 0 if the user is logged off
! or is logged on as
! NULL.NULL (0,0)
! [2] current priority of TACL
! [3] TACL IN file
! [15] TACL OUT file
! [27] 0 if TACL is currently
! logged off, non-zero if
! TACL is already logged on
! [28] internal username through
! which the user wants to
! log on
! [0] 0 = proceed to VERIFYUSER
! 1 = disallow logon
! [1] optional message to be
! printed; maximum length
! of 132 bytes
! [0] -60
! [1] current user ID of TACL;
! 0 if logged off or logged on
! as NULL,NULL (0,0)
! [2] current priority of TACL
! [3] IN file of TACL
![15] OUT file of TACL
! 0 send default configuration
! 1 send user configuration
! [0] 0
! [1] number of INTs that

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents