nsresult rv;  rv = nsMsgRDFDataSource::Init(); if (NS_FAILED(rv)) return rv;
nsMsgRDFDataSource::Init(uri); nsresult rv=NS_OK; #ifdef DEBUG_amds printf("nsMsgAccountManagerDataSource::Init(%s)\n", uri ? uri : "(null)"); #endif
nsMsgAccountManagerDataSource::Init(){    nsresult rv;    rv = nsMsgRDFDataSource::Init();    if (NS_FAILED(rv)) return rv;        nsCOMPtr<nsIMsgAccountManager> am;    // get a weak ref to the account manager    if (!mAccountManager) {        am = do_GetService(NS_MSGACCOUNTMANAGER_PROGID, &rv);        mAccountManager = getter_AddRefs(NS_GetWeakReference(am));    } else        am = do_QueryReferent(mAccountManager);    if (am) {        am->AddIncomingServerListener(this);        am->AddRootFolderListener(this);    }        return NS_OK;}