Table of Contents

Name

rmtReqDATAans - remote - request a DATA record and wait for an answer

Description

rmtReqDATAans passes a request to dbman asking for a copy of a DATA record.

It waits for an answer.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtReqDATAans(
int fo,
int RecId,
DATADISK *DDTpnt,
int send_verbosity,
int recv_verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

RecId

The RecId of the DATA record

DDTpnt

pointer to the DATADISK record to return the result in.

send_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.

recv_verbosity

Defines the amount of messages to print. This value is passed on to RecvRec. A value of 0 produces no messages. See the RecvRec 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.

Notes

The implementation of this in dbman is somewhat strange and may be changed in the future.

See Also

librmt(3rmt)

Manual page revision

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


Table of Contents