Logo Search packages:      
Sourcecode: condor version File versions  Download package

QuillErrCode ClassAdLogParser::getSetAttributeBody ( char *&  key,
char *&  name,
char *&  value 
)

get a current classad log entry data as a Set Attribute command

Warning:
each pointer must be freed by a calling funtion

Definition at line 393 of file classadlogparser.cpp.

References curCALogEntry, ClassAdLogEntry::key, ClassAdLogEntry::name, ClassAdLogEntry::op_type, and ClassAdLogEntry::value.

Referenced by JobQueueDBManager::processLogEntry().

{
      if (curCALogEntry.op_type != CondorLogOp_SetAttribute) {
            return QUILL_FAILURE;
      }

      key = strdup(curCALogEntry.key);
      name = strdup(curCALogEntry.name);
      value = strdup(curCALogEntry.value);

      return QUILL_SUCCESS;
}


Generated by  Doxygen 1.6.0   Back to index