serverspy/src/serverspy.cxx
//------------------------------------------------------------------------------
// This method will add new client to the clients linked list
//------------------------------------------------------------------------------
This method will add new client to the clients linked list
This method will add new client to the clients linked list
void AdminDescriptor::AddNewAdmin(AdminDescriptor *sd) {
    if(admin_list == NULL){
        admin_list      = sd;
        admin_list_last = sd;
    } else {
        admin_list_last->m_Next = sd;
        admin_list_last        = sd;
    }
}
void AdminDescriptor :: AddNewAdmin ( AdminDescriptor * sd ) { if ( admin_list == NULL ) { admin_list = sd ; admin_list_last = sd ; } else { admin_list_last -> m_Next = sd ; admin_list_last = sd ; } }
This method will add new client to the clients linked list
This method will add new client to the clients linked list