[Libvirt-cim] [PATCH] [RFC] #2 - variable renaming in make_ref() of associations
Dan Smith
danms at us.ibm.com
Wed Dec 5 22:15:00 UTC 2007
HE> Sadly the current input parameter list of make_ref_t() in struct
HE> std_assoc does not include a broker pointer, which prevents me
HE> from reworking it in your suggested way.
Ah, right :(
HE> Maybe you have an idea how to solve this ?
Perhaps we could have a macro that dispatches the make_reference()
function with the appropriate broker? Maybe something like the
following:
#define LIBVIRT_CIM_DEFAULT_MAKEREF \
static CMPIInstance make_ref(const CMPIObjectPath *ref, \
const CMPIInstance *inst, \
struct std_assoc_info *info, \
struct std_assoc *assoc) \
{ \
return default_make_ref(_BROKER, ref, inst, info, assoc);\
}
What do you think?
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071205/28056248/attachment.sig>
More information about the Libvirt-cim
mailing list