struct BaseData *bd;
int moz_url_cb(PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo){	int *nflags = NULL;	PtMozillaUrlCb_t *c = (PtMozillaUrlCb_t *) cbinfo->cbdata;	struct BaseData *bd;	// display the url in the entry field	PtSetResource(url, Pt_ARG_TEXT_STRING, c->url, 0);	/* get the navigation possibilities */	PtGetResource(web, Pt_ARG_MOZ_NAVIGATE_PAGE, &nflags, 0 );	if ( nflags != NULL ) 	{		// disable or enable the forward and back buttons accordingly		if (*nflags & WWW_DIRECTION_BACK)			PtSetResource(back, Pt_ARG_FLAGS, 0, Pt_BLOCKED|Pt_GHOST);		else			PtSetResource(back, Pt_ARG_FLAGS, ~0, Pt_BLOCKED|Pt_GHOST);		if (*nflags & WWW_DIRECTION_FWD)			PtSetResource(forward, Pt_ARG_FLAGS, 0, Pt_BLOCKED|Pt_GHOST);		else			PtSetResource(forward, Pt_ARG_FLAGS, ~0, Pt_BLOCKED|Pt_GHOST);	}	return (Pt_CONTINUE);}