version 1.8, 2002/08/29 00:27:52
|
version 1.9, 2002/09/13 21:40:42
|
|
|
// | // |
// Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) | // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
// | // |
// Modified By: |
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
{ | { |
#ifdef PEGASUS_OS_HPUX | #ifdef PEGASUS_OS_HPUX |
//get destination for the indication | //get destination for the indication |
Uint32 pos = indicationHandlerInstance.findProperty("destination"); |
Uint32 pos = indicationHandlerInstance.findProperty |
|
(CIMName ("destination")); |
if (pos == PEG_NOT_FOUND) | if (pos == PEG_NOT_FOUND) |
{ | { |
// ATTN: Deal with a malformed handler instance | // ATTN: Deal with a malformed handler instance |
|
|
CIMConstProperty instanceProp = indicationInstance.getProperty(i); | CIMConstProperty instanceProp = indicationInstance.getProperty(i); |
fprintf(sendmailFile, | fprintf(sendmailFile, |
"%s\t%s\n", | "%s\t%s\n", |
(const char *)String(instanceProp.getName()).getCString(), |
(const char *)instanceProp.getName().getString().getCString(), |
(const char *)instanceProp.getValue().toString().getCString()); | (const char *)instanceProp.getValue().toString().getCString()); |
} | } |
fclose(sendmailFile); | fclose(sendmailFile); |