net_CallExitRoutine(tmpEntry->exit_routine,
net_CallExitRoutineProxy(tmpEntry->exit_routine,
NET_SetNewContext(URL_Struct *URL_s, MWContext * new_context, Net_GetUrlExitFunc *exit_routine){    /* Find the ActiveEntry structure for this URL */    ActiveEntry *tmpEntry = NULL;    XP_List * iter;	MWContext *old_window_id;	LIBNET_LOCK();	iter = net_EntryList;    while ((tmpEntry = (ActiveEntry *) XP_ListNextObject(iter)) != NULL)	  {	if (tmpEntry->URL_s == URL_s)		  {			/* call the old exit routine now with the old context */			/* call with MK_CHANGING_CONTEXT, FE shouldn't free URL_s */			net_CallExitRoutine(tmpEntry->exit_routine,								URL_s,								MK_CHANGING_CONTEXT,								0,								tmpEntry->window_id);			/*      see if we're changing exit routines */			if(exit_routine != NULL)        {				/*      okay to change now. */				tmpEntry->exit_routine = exit_routine;			}			old_window_id = tmpEntry->window_id;	    tmpEntry->window_id = new_context;#ifdef XP_WIN			/*			 *      Windows needs a way to know when a URL switches contexts,			 *              so that it can keep the NCAPI progress messages			 *              specific to a URL loading and not specific to the			 *              context attempting to load.			 *      So sue me.  GAB 10-16-95			 */			FE_UrlChangedContext(URL_s, old_window_id, new_context);#endif /* XP_WIN */			/*      if there are no more connections in the old context, we			 *      need to call AllConnectionsComplete			 */		if(!NET_AreThereActiveConnectionsForWindow(old_window_id))				FE_AllConnectionsComplete(old_window_id);#ifdef MODULAR_NETLIB        net_ReleaseContext(old_window_id);#endif			LIBNET_UNLOCK();	    return(0);	  }      }	/* couldn't find it :( */    PR_ASSERT (0);	LIBNET_UNLOCK();    return(-1);}