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

void * DaemonCore::GetDataPtr (  ) 

Get the data pointer when you're inside the handler function. It will not work outside. You must have done a Register_DataPtr after the function was registered for this to work.

The desired pointer to set...

Definition at line 5235 of file daemon_core.cpp.

      // note: curr_dataptr is updated by daemon core
      // whenever a register_* or a hanlder invocation takes place

      if ( curr_dataptr == NULL )
            return NULL;

      return ( *curr_dataptr );

Generated by  Doxygen 1.6.0   Back to index