Product Install Registry Library Functions
wsreg_components_equal(3WSREG)
NAME
wsreg_components_equal - determine equality of two com-
ponentsSYNOPSIS
cc [flag ...] file ...-lwsreg [library ...]
#include
int wsreg_components_equal(const Wsreg_component *comp1,
const Wsreg_component *comp2);
DESCRIPTION
The wsreg_components_equal() function determines if the com-
ponent specified by the comp1 argument is equal to the com-
ponent specified by the comp2 argument. Equality is evaluated based only on the content of the two components, not the order in which data was set into the components.RETURN VALUES
The wsreg_components_equal() function returns a non-zero
value if the component specified by the comp1 argument isequal to the component specified by the comp2 argument. Oth-
erwise, 0 is returned.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | Unsafe |
|_____________________________|_____________________________|
SEE ALSO
wsreg_clone_component(3WSREG),
wsreg_create_component(3WSREG), wsreg_initialize(3WSREG),
attributes(5)SunOS 5.11 Last change: 22 Sep 2000 1
Product Install Registry Library Functionswsreg_components_equal(3WSREG)
SunOS 5.11 Last change: 22 Sep 2000 2