Table of Contents
rmtUserMsgCmd - remote - post a user message as a response to a command
rmtUserMsgCmd posts a user message to dbman.
This is used by
a client which needs to post a message as the result of a user action. For
example, McSNICSmngr(8)
uses this to post automatic rehome in progress
messages.
The request is passed in remote mode.
This function is part of
librmt.
int rmtUserMsgCmd(
int fo,
char *L,
char *D,
int RecId,
char *Msg,
int chan,
int verbosity
);
The file descriptor for the connection to dbman.
label string
refname string
DATA.RecId (of the parameter designated by label and
refname)
the message
the file descriptor number in dbman where the
command originated. This is obtained from the incoming transaction which
is causing this message to be posted.
Defines the amount of messages
to print. This value is passed on to SendRec. A value of 0 produces no messages.
See the SendRec manpage for full details on available values.
ERRok
is returned if the transaction is successful.
The error code from the transaction is returned if there is a communications
error.
The RecId argument isn’t really used for anything.
librmt(3rmt)
$Id: rmtUserMsgCmd.3,v 1.2 2008/08/22 16:23:09 mcnamer
Exp $
Table of Contents