Table of Contents
reqDESC_processor - process a file containing a list of label/refnames
and request DESC records from database
reqDESC_processor reads
from a file containing a list label/refname pairs. Each time the function
is called one line of the file is parsed and a DESC record 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 reqDESC_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: reqDESC_processor.3,v 1.2 2008/08/22
16:22:16 mcnamer Exp $
Table of Contents