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

int DaemonCore::SetDataPtr ( void *  data  ) 

Set the data pointer when you're inside the handler function. It will not work outside.

data The desired pointer to set...

Definition at line 5207 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 FALSE;

      *curr_dataptr = dptr;

      return TRUE;

Generated by  Doxygen 1.6.0   Back to index