cmpiBrokerExt.cpp File Reference

#include "cmpisrv.h"
#include "OW_Logger.hpp"
#include "OW_String.hpp"
#include "OW_Thread.hpp"
#include "OW_ThreadOnce.hpp"
#include <cstring>

Include dependency graph for cmpiBrokerExt.cpp:

Go to the source code of this file.

Classes

class  CMPIThread

Defines

#define CM_LOGGER()   (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getLogger(COMPONENT_NAME)

Functions

const OpenWBEM::String COMPONENT_NAME ("ow.provider.cmpi.ifc")
static char * mbExtResolveFileName (const char *libName)
void * mbExtNewThread (void *(*start)(void *), void *parm, int detached)
int mbExtJoinThread (void *thread, void **retval)
int mbExtExitThread (void *return_code)
int mbExtCancelThread (void *thread)
int mbExtThreadSleep (CMPIUint32 msec)
int mbExtThreadOnce (int *once, void(*init)(void))
int mbExtCreateThreadKey (unsigned long int *key, void(*cleanup)(void *))
int mbExtDestroyThreadKey (unsigned long int key)
void * mbExtGetThreadSpecific (unsigned long int key)
int mbExtSetThreadSpecific (unsigned long int key, void *value)
void * mbExtNewMutex (int opt)
void mbExtDestroyMutex (void *arg)
void mbExtLockMutex (void *arg)
void mbExtUnlockMutex (void *arg)
void * mbExtNewCondition (int opt)
void mbExtDestroyCondition (void *arg)
int mbExtCondWait (void *cond, void *mutex)
int mbExtTimedCondWait (void *cond, void *mutex, struct timespec *wait)
int mbExtSignalCondition (void *cond)

Variables

static CMPIBrokerExtFT brokerExt_FT
CMPIBrokerExtFTCMPI_BrokerExt_Ftab = &brokerExt_FT


Define Documentation

 
#define CM_LOGGER  )     (* static_cast<OpenWBEM::ProviderEnvironmentIFCRef *>(CMPI_ThreadContext::getBroker()->hdl))->getLogger(COMPONENT_NAME)
 

Definition at line 51 of file cmpiBrokerExt.cpp.


Function Documentation

const OpenWBEM::String @0::COMPONENT_NAME "ow.provider.cmpi.ifc"   )  [static]
 

int mbExtCancelThread void *  thread  ) 
 

Definition at line 138 of file cmpiBrokerExt.cpp.

int mbExtCondWait void *  cond,
void *  mutex
 

Definition at line 237 of file cmpiBrokerExt.cpp.

int mbExtCreateThreadKey unsigned long int *  key,
void(*)(void *)  cleanup
 

Definition at line 178 of file cmpiBrokerExt.cpp.

void mbExtDestroyCondition void *  arg  ) 
 

Definition at line 231 of file cmpiBrokerExt.cpp.

void mbExtDestroyMutex void *  arg  ) 
 

Definition at line 206 of file cmpiBrokerExt.cpp.

int mbExtDestroyThreadKey unsigned long int  key  ) 
 

Definition at line 183 of file cmpiBrokerExt.cpp.

int mbExtExitThread void *  return_code  ) 
 

Definition at line 133 of file cmpiBrokerExt.cpp.

void* mbExtGetThreadSpecific unsigned long int  key  ) 
 

Definition at line 188 of file cmpiBrokerExt.cpp.

int mbExtJoinThread void *  thread,
void **  retval
 

Definition at line 117 of file cmpiBrokerExt.cpp.

References CMPIThread::getReturnValue().

void mbExtLockMutex void *  arg  ) 
 

Definition at line 212 of file cmpiBrokerExt.cpp.

void* mbExtNewCondition int  opt  ) 
 

Definition at line 224 of file cmpiBrokerExt.cpp.

References CMPI_COND_TYPE.

void* mbExtNewMutex int  opt  ) 
 

Definition at line 198 of file cmpiBrokerExt.cpp.

References CMPI_MUTEX_TYPE.

void* mbExtNewThread void *(*)(void *)  start,
void *  parm,
int  detached
 

Definition at line 107 of file cmpiBrokerExt.cpp.

References CMPI_THREAD_TYPE.

static char* mbExtResolveFileName const char *  libName  )  [static]
 

Definition at line 58 of file cmpiBrokerExt.cpp.

References OW_NAMESPACE::String::c_str().

int mbExtSetThreadSpecific unsigned long int  key,
void *  value
 

Definition at line 193 of file cmpiBrokerExt.cpp.

int mbExtSignalCondition void *  cond  ) 
 

Definition at line 263 of file cmpiBrokerExt.cpp.

int mbExtThreadOnce int *  once,
void(*)(void)  init
 

Definition at line 165 of file cmpiBrokerExt.cpp.

References OW_NAMESPACE::callOnce().

int mbExtThreadSleep CMPIUint32  msec  ) 
 

Definition at line 152 of file cmpiBrokerExt.cpp.

References OW_NAMESPACE::ThreadImpl::sleep().

int mbExtTimedCondWait void *  cond,
void *  mutex,
struct timespec *  wait
 

Definition at line 257 of file cmpiBrokerExt.cpp.

void mbExtUnlockMutex void *  arg  ) 
 

Definition at line 218 of file cmpiBrokerExt.cpp.


Variable Documentation

CMPIBrokerExtFT brokerExt_FT [static]
 

Initial value:

Definition at line 269 of file cmpiBrokerExt.cpp.

CMPIBrokerExtFT* CMPI_BrokerExt_Ftab = &brokerExt_FT
 

Definition at line 293 of file cmpiBrokerExt.cpp.


Generated on Thu Feb 9 08:48:51 2006 for openwbem by  doxygen 1.4.6