Description:
This
routine reads provenance from the specified output NDF, and then records each of the specified input
NDFs as ancestors within the output provenance. It then writes the modified provenance back out to
the output NDF.
It is a simplified wrapper for ndgReadProv, ndgPutProv and ndgWriteProv. It is more restrictive than
use of ndgPutProv since it stores no extra information ("
MORE"
) with any of the ancestors, and does
not force any of the ancestors to be root ancestors.
Invocation
ndgAddProv( int indf, const char
creator, int
nndf, int ndfs,
int status
)
Arguments
indf
An identifier for the output NDF.
creator
A text identifier for the software
that created INDF (usually the name of the calling application). The format of the identifier is
arbitrary, but the form "
PACKAGE:COMMAND"
is recommended. This value is only used if the the
NDF does not contain any existing provenance information.
nndf
The number of input NDFs.
ndfs
A pointer to an array of identifiers for the input NDFs.
status
The global status.
Copyright © 2000 Council for the Central Laboratory of the Research Councils