DATAMANIP (ksegops) functions
LIBRARY ROUTINE
lksegcmp_attributes - compare segment and/or global attributes of two objects
LIBRARY CALL
int lksegcmp_attributes(
kobject obj1,
kobject obj2,
char *segment,
kfile *outfile,
int run_silent)
INPUT
- obj1 - object containing first segment with attributes
to compare.
- obj2 - object containing second segment with attributes
to compare.
- segment - segment name to compare the attributes for.
If NULL, then the object level segments
between the two objects are compared.
- run_silent - TRUE if no output should be generated
to the outfile.
OUTPUT
- outfile - An open kfile in which to print the
attribute differences.
RETURN VALUE
TRUE (1) if the attributes all match, FALSE (0) otherwise
DESCRIPTION
This routine compares attributes between two data
objects. If a segment is specified, then the attributes
for that segment is compared across the two data objects.
The size, data type, dimensionality, and index order
attributes are ignored. If no segment is specified, then
the object-level attributes are compared.
The attribute differences are printed to a specified
output file, unless the run_silent argument is set,
in which case nothing is printed.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
Only defined attributes are compared. User created
attributes are not considered in the comparison.
MODIFICATION
none
FILES
$DATAMANIP/objects/library/ksegops/src/lksegcmp.c
SEE ALSO
ksegops(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.