(file) Return to CMPI_ObjectPath.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_ObjectPath.cpp between version 1.5 and 1.6

version 1.5, 2004/01/27 13:48:11 version 1.6, 2004/02/26 16:41:53
Line 67 
Line 67 
    return neRef;    return neRef;
 } }
  
 static CMPIStatus refSetNameSpace(CMPIObjectPath* eRef, char* ns) {  static CMPIStatus refSetNameSpace(CMPIObjectPath* eRef, const char *ns) {
    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;
    ref->setNameSpace(String(ns));    ref->setNameSpace(String(ns));
    CMReturn(CMPI_RC_OK);    CMReturn(CMPI_RC_OK);
Line 81 
Line 81 
    return eNs;    return eNs;
 } }
  
 static CMPIStatus refSetHostname(CMPIObjectPath* eRef, char* hn) {  static CMPIStatus refSetHostname(CMPIObjectPath* eRef, const char *hn) {
    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;
    ref->setHost(String(hn));    ref->setHost(String(hn));
    CMReturn(CMPI_RC_OK);    CMReturn(CMPI_RC_OK);
Line 95 
Line 95 
    return eHn;    return eHn;
 } }
  
 static CMPIStatus refSetClassName(CMPIObjectPath*,char*) {  static CMPIStatus refSetClassName(CMPIObjectPath* eRef, const char *cn) {
      CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;
      ref->setClassName(String(cn));
    CMReturn(CMPI_RC_OK);    CMReturn(CMPI_RC_OK);
 } }
  
Line 116 
Line 118 
    return -1;    return -1;
 } }
  
 static CMPIStatus refAddKey(CMPIObjectPath* eRef, char* name,  static CMPIStatus refAddKey(CMPIObjectPath* eRef, const char *name,
           CMPIValue* data, CMPIType type) {           CMPIValue* data, CMPIType type) {
    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;
    Array<CIMKeyBinding> keyBindings=ref->getKeyBindings();    Array<CIMKeyBinding> keyBindings=ref->getKeyBindings();
Line 132 
Line 134 
    CMReturn(CMPI_RC_OK);    CMReturn(CMPI_RC_OK);
 } }
  
 static CMPIData refGetKey(CMPIObjectPath* eRef, char* name, CMPIStatus* rc) {  static CMPIData refGetKey(CMPIObjectPath* eRef, const char *name, CMPIStatus* rc) {
    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;    CIMObjectPath* ref=(CIMObjectPath*)eRef->hdl;
    const CIMName eName(name);    const CIMName eName(name);
    const Array<CIMKeyBinding> &akb=ref->getKeyBindings();    const Array<CIMKeyBinding> &akb=ref->getKeyBindings();


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2