man3rmt/rmtSetDBname

Table of Contents

Name

rmtSetDBname - remote - set the database name

Description

rmtSetDBname sends a command to dbman(8) to set the database name. It doesn’t wait for an answer.

The request is passed in remote mode.

This function is part of librmt.

Syntax

int rmtSetDBname(
int fo,
char *dbname,
int verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

dbname

The new database name

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.

Notes

See Also

librmt(3rmt)

Manual page revision

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


Table of Contents