man3rmt/dbmod_processor

Table of Contents

Name

dbmod_processor - process a list of database commands

Description

dbmod_processor reads from a file containing a list of updates. Each line of the file is parsed and an update request is formulated and sent to dbman.

This function is part of librmt.

Syntax

int dbmod_processor(
FILE *in,
int DBsock,
int verbosity
);

Arguments

in

The pathname of the file to read from.

DBsock

The file descriptor for the connection to 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

If all operations succeed ERRok is returned. If there is a communications failure the error code from the update is returned.

See Also

librmt(3rmt)

Manual page revision

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


Table of Contents