From: Chris B. <buc...@li...> - 2014-02-11 00:00:26
|
Most things (at least in SBLIM) use the stub macros instead, such as CMInstanceMIStub(). You'll find it in cmpimacs.h -Chris On 02/10/2014 06:38 PM, Thomas Stover wrote: > On Mon, 10 Feb 2014 17:08:19 -0600 > David Heller wrote: > >> The CMPI Technical Standard 2.0 document you mention really is >> the definitive API reference. > Thanks for the response. One thing I'm trying to reconcile from that > document versus what I'm seeing is the MI function signatures. Version > 1 of the doc says that MI factories are expected to take the form > > <mi_name>_Create<mi-type*>MI() or Generic_Create<mi-type*>MI() > > and version 2 says: > > <mi_name>_Create_<mi-type*>MI() or Generic_Create_<mi-type*>MI() > > *where mi-type is Instance, Association, Property, Method, or Indication > > This also jives with what I see in sfcb's source file support.c in the > functions getFixedEntryPoint() and getGenericEntryPoint(). However, I > have yet to find such a function in any of the sources for a number of > provider modules I have been looking at. > > Maybe the registration process is specifying alternative names for > entry points? These function tables have to get initialized somehow. > Anyway, time to call it a day. > |