cmdriver/src/CMDriver.cxx
//------------------------------------------------------------------------------------------------------
// This function will return a pointer to the client record in the clients linked list
// or NULL of no client with the given name found.
//------------------------------------------------------------------------------------------------------
This function will return a pointer to the client record in the clients linked list
or NULL of no client with the given name found.
This function will return a pointer to the client record in the clients linked list or NULL of no client with the given name found .
ClientDescriptor *ClientDescriptor::LookupID(int id)
{
    ClientDescriptor *cur = sd_list;
    while(cur != NULL){
        if(cur->m_ID==id) return cur;
        cur = cur->m_Next;
    }
    return NULL;
}
ClientDescriptor * ClientDescriptor :: LookupID ( int id ) { ClientDescriptor * cur = sd_list ; while ( cur != NULL ) { if ( cur -> m_ID == id ) return cur ; cur = cur -> m_Next ; } return NULL ; }
This function will return a pointer to the client record in the clients linked list
or NULL of no client with the given name found.
This function will return a pointer to the client record in the clients linked list or NULL of no client with the given name found .