Description:
This function modifies the
supplied provenance structure to indicate that a given NDF was used in the creation of the NDF
associated with the supplied provenance structure.
Invocation
ndgPutProv( NdgProvenance
∗prov, int indf,
AstKeyMap ∗more, int
isroot, int ∗status
)
Arguments
prov
An identifier for a structure holding the provenance information as returned by
ndgReadProv or ndgReadVotProv.
indf
An identifier for an NDF that is to be added into the list of
ancestor NDFs in the supplied provenance information.
more
A pointer to an AstKeyMap holding
arbitrary additional information about the new ancestor NDF, and how it was used in
the creation of the output NDF. A NULL pointer can be supplied if required.
isroot
If
non-zero, then the new ancestor NDF will be treated as a root NDF. That is, any provenance
information in the supplied NDF is ignored. If zero, then any provenance information in
the NDF is copied into the supplied provenance structure. The new ancestor NDF is then
only a root NDF if it contains no provenance information.
status
The global status.
Copyright © 2000 Council for the Central Laboratory of the Research Councils