man3rmt/reqpar_processor
Table of Contents
reqpar_processor - process parameter file and request parameter values
from database
reqpar_processor reads from a file containing
a list of label/refname pairs. Each time the function is called one line
of the file is parsed and a parameter value request is formulated and sent
to
dbman. The file should be opened before calling this function and closed
when finished.
This function is part of librmt.
int reqpar_processor(
FILE *in,
int DBsock,
int *Line,
int verbosity
);
The pathname of the file to read from.
The file descriptor
for the connection to dbman.
a variable containing the current line
number of the file being processed. This should be initialized to zero before
calling this function the first time.
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.
-1
- error, end of input, bad db connection
0 - no record processed
comment and empty lines return this
1 - record processed
librmt(3rmt)
$Id: reqpar_processor.3,v 1.2 2008/08/22
16:22:16 mcnamer Exp $
Table of Contents