CMPIIndicationMI* CMIndicationMIStub

(chars pfx, chars pn,
  CMPIBroker* broker,
  statement hook)

This macro generates the function table and initialization stub for an indication provider.

Documentation

This macro generates the function table and initialization stub for an indication provider. The initialization routine <pn>Create_IndicationMI is called when this provider module is loaded by the broker. This macro is for CMPI providers written in plain C.
Parameters:
pfx - The prefix for all mandatory indication provider functions. This is a character string without quotes. Mandatory functions are: <pfx>IndicationCleanup, <pfx>AuthorizeFilter, <pfx>MustPoll, <pfx>ActivateFilter and <pfx>DeActivateFilter.
pn - The provider name under which this provider is registered. This is a character string without quotes.
broker - The name of the broker variable used by this macro to store the CMPIBroker pointer
hook - A statement that is executed within <pn>Create_IndicationMI routine. This enables you to perform additional initialization functions and is normally a function call like furtherInit(broker) or CMNoHook. Use CMNoHook if no further intialization is required.
Returns:
The function table of this indication provider.

Alphabetic index