version 1.7.22.1, 2006/10/25 12:52:13
|
version 1.8, 2006/11/02 05:56:24
|
|
|
| |
#ifndef _REMOTE_CMPI_PROXY_H | #ifndef _REMOTE_CMPI_PROXY_H |
#define _REMOTE_CMPI_PROXY_H | #define _REMOTE_CMPI_PROXY_H |
|
|
|
|
typedef struct _RemoteCMPIInstanceMI RemoteCMPIInstanceMI; | typedef struct _RemoteCMPIInstanceMI RemoteCMPIInstanceMI; |
typedef struct _RemoteCMPIAssociationMI RemoteCMPIAssociationMI; | typedef struct _RemoteCMPIAssociationMI RemoteCMPIAssociationMI; |
typedef struct _RemoteCMPIMethodMI RemoteCMPIMethodMI; | typedef struct _RemoteCMPIMethodMI RemoteCMPIMethodMI; |
|
|
typedef struct _RemoteCMPIIndicationMI RemoteCMPIIndicationMI; | typedef struct _RemoteCMPIIndicationMI RemoteCMPIIndicationMI; |
| |
typedef struct provider_comm provider_comm; | typedef struct provider_comm provider_comm; |
|
|
#ifndef CMPI_VER_100 | #ifndef CMPI_VER_100 |
#define CMPI_VER_100 | #define CMPI_VER_100 |
#endif | #endif |
|
|
#ifndef CONST | #ifndef CONST |
#ifdef CMPI_VER_100 | #ifdef CMPI_VER_100 |
#define CONST const | #define CONST const |
|
|
#include <Pegasus/Provider/CMPI/cmpidt.h> | #include <Pegasus/Provider/CMPI/cmpidt.h> |
#include <Pegasus/Provider/CMPI/cmpift.h> | #include <Pegasus/Provider/CMPI/cmpift.h> |
#include <Pegasus/Provider/CMPI/cmpimacs.h> | #include <Pegasus/Provider/CMPI/cmpimacs.h> |
|
|
#include "ticket.h" | #include "ticket.h" |
#include "resolver.h" | #include "resolver.h" |
| |
|
|
REMOTE_CMPI_MI(Property); | REMOTE_CMPI_MI(Property); |
REMOTE_CMPI_MI(Indication); | REMOTE_CMPI_MI(Indication); |
| |
|
|
|
|
#ifdef CMPI_VER_100 | #ifdef CMPI_VER_100 |
|
|
/** | /** |
* provides access to the communication layer for MI calls | * provides access to the communication layer for MI calls |
*/ | */ |
struct provider_comm { | struct provider_comm { |
| |
char * id; | char * id; |
|
|
// instance provider function pointers | // instance provider function pointers |
CMPIStatus (* InstanceMI_enumInstanceNames) ( provider_address *, | CMPIStatus (* InstanceMI_enumInstanceNames) ( provider_address *, |
RemoteCMPIInstanceMI *, | RemoteCMPIInstanceMI *, |
|
|
// IBMKR: General terminate function | // IBMKR: General terminate function |
CMPIStatus (* terminate) (); | CMPIStatus (* terminate) (); |
| |
|
// Adding enable and disable indications -V 5245 |
|
CMPIStatus (* IndicationMI_enableIndications) ( provider_address *, |
|
RemoteCMPIIndicationMI *, |
|
const CMPIContext *); |
|
CMPIStatus (* IndicationMI_disableIndications) ( provider_address *, |
|
RemoteCMPIIndicationMI *, |
|
const CMPIContext *); |
struct provider_comm * next; | struct provider_comm * next; |
void * handle; | void * handle; |
}; | }; |
|
|
// IBMKR: General terminate function | // IBMKR: General terminate function |
CMPIStatus (* terminate) (); | CMPIStatus (* terminate) (); |
| |
|
// Adding enable and disable indications -V 5245 |
|
CMPIStatus (* IndicationMI_enableIndications) ( provider_address *, |
|
RemoteCMPIIndicationMI *); |
|
CMPIStatus (* IndicationMI_disableIndications) ( provider_address *, |
|
RemoteCMPIIndicationMI *); |
struct provider_comm * next; | struct provider_comm * next; |
void * handle; | void * handle; |
}; | }; |