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

QuillErrCode ClassAdLogParser::getDeleteAttributeBody ( char *&  key,
char *&  name 
)

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

Warning:
each pointer must be freed by a calling funtion

Definition at line 410 of file classadlogparser.cpp.

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

Referenced by JobQueueDBManager::processLogEntry().

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

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

      return QUILL_SUCCESS;
}


Generated by  Doxygen 1.6.0   Back to index