man3rmt/lclReqDESCparAns

Table of Contents

Name

lclReqDESCparAns - local - request a DESC record and wait for an answer

Description

lclReqDESCparAns passes a request to dbman asking for a pointer to a DESC record. It waits for an answer.

The request is passed in local mode.

This function is part of librmt.

Syntax

int lclReqDESCparAns(
int fo,
LABEL *Lpnt,
DESC *Dpnt,
DESC **DpntR,
int verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

Lpnt

pointer to a LABEL record

Dpnt

pointer to a DESC record

DpntR

address of a DESC pointer to return the answer in.

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.

This function isn’t all that useful to an application. It was added to the library because of a need to test this feature in dbman(8) in both local and remote mode.

See Also

librmt(3rmt)

Manual page revision

$Id: lclReqDESCparAns.3,v 1.1 2008/08/22 16:21:09 mcnamer Exp $


Table of Contents