
6 Dec
2007
6 Dec
'07
5:57 p.m.
Heidi Eckhart wrote:
# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1196935598 -3600 # Node ID 618509ea5c6089678975cde7f4b5a687aa1e68f0 # Parent d9af4651f76314647dbda82f5ccf3d926ce9dc05 Introduce generic LIBVIRT_CIM_DEFAULT_MAKEREF macro
Moved the content of association's make_ref() to make_reference() in libxkutil to generalize it. The make_reference can be used via LIBVIRT_CIM_DEFAULT_MAKEREF macro by each association. Reduces lines of code per provider.
Updated all association providers to make use of make_reference() and LIBVIRT_CIM_DEFAULT_MAKEREF.
I did a quick test of every provider modified. Looks good. +1 -- Kaitlin Rupert IBM Linux Technology Center karupert@us.ibm.com