man3rmt/rmtErrMsgCmd

Table of Contents

Name

rmtErrorMsgCmd - remote - post an error message as a response to a command

Description

rmtErrorMsgCmd posts an error message to dbman as a response to a command.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtErrorMsgCmd(
int fo,
char *L,
char *D,
int RecId,
char *Msg,
inc chan,
int verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

L

label string

D

refname string

RecId

the RecId of the DATA record associated with the parameter

Msg

the message

chan

the number of dbman’s file descriptor where the command originated This value is obtained by extracting QUEDISK.fd from the command message passed to the client by dbman.

verbosity

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.

Return Values

ERRok is returned if the transaction is successful.
The error code from the transaction is returned if there is a communications error.

See Also

librmt(3rmt)

Manual page revision

$Id: rmtErrMsgCmd.3,v 1.2 2008/08/22 16:22:16 mcnamer Exp $


Table of Contents