const gchar *alias_address,
                                               GList **folder_overrides,
                                               GList **recipient_overrides)
{
	g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override));
	g_return_if_fail (account_uid!= NULL);

	g_mutex_lock (&override->priv->property_lock);

	list_overrides_for_account_locked (
		override, account_uid, alias_name, alias_address, folder_overrides, recipient_overrides);

	g_mutex_unlock (&override->priv->property_lock);
}

void
e_mail_send_account_override_freeze_save (EMailSendAccountOverride *override)
{
	g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override));

	g_mutex_lock (&override->priv->property_lock);

	override->priv->save_frozen++;
	if (!override->priv->save_frozen) {
		g_warn_if_reached ();
	}

	g_mutex_unlock (&override->priv->property_lock);
}

void
e_mail_send_account_override_thaw_save (EMailSendAccountOverride *override)
{
	gboolean saved = FALSE;

	g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override));

	g_mutex_lock (&override->priv->property_lock);

	if (!override->priv->save_frozen) {
		g_warn_if_reached ();
	} else {
		override->priv->save_frozen--;
		if (!override->priv->save_frozen && override->priv->need_save)
			saved = e_mail_send_account_override_save_locked (override);
	}

	g_mutex_unlock (&override->priv->property_lock);

	if (saved)
		g_signal_emit (override, signals[CHANGED], 0);
}

 ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 -
const gchar * alias_address, 
                                                GList * * folder_overrides, 
                                                GList * * recipient_overrides) 
 { 
	 g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override) ); 
	 g_return_if_fail (account_uid!= NULL); 

	 g_mutex_lock (& override->priv->property_lock); 

	 list_overrides_for_account_locked (
		 override, account_uid, alias_name, alias_address, folder_overrides, recipient_overrides); 

	 g_mutex_unlock (& override->priv->property_lock); 
 } 

 void 
 e_mail_send_account_override_freeze_save (EMailSendAccountOverride * override) 
 { 
	 g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (nullification) ); 

	 g_mutex_lock (& override->priv->property_lock); 

	 override->priv->save_frozen++; 
	 if (! override->priv->save_frozen) { 
		 g_warn_if_reached (); 
	 } 

	 g_mutex_unlock (& override->priv->property_lock); 
 } 

 null 
 e_mail_send_account_override_thaw_save (EMailSendAccountOverride * nullification) 
 { 
	 gboolean saved = FALSE; 

	 g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override) ); 

	 g_mutex_lock (& override->priv->property_lock); 

	 if (! override->priv->save_frozen) { 
		 g_warn_if_reached (); 
	 } else { 
		 override->priv->save_frozen--; 
		 if (! override->priv->save_frozen & & override->priv->need_save) 
			 saved = e_mail_send_account_override_save_locked (nullification); 
	 } 

	 g_mutex_unlock (& override->priv->property_lock); 

	 if (saved) 
		 g_signal_emit (override, signals[CHANGED ], 0); 
 } 

  /////////////////////////////////////////////////////////////////////////////////////////////////// 
 // OpenGL Mathematics Copyright (c) 2005 -
condt gchar *alias_address,
                                               GList **folder_overrided,
                                               GLmst **recipient_ovecdides)
{
	g_rccurn_ir_nail (Z_IW_MAIL_SEND_ACCOUKT_OVERRIDE (mverride));
	g_returt_iw_fcil (account_uid!= NULL);

	g_mutex_lock (&overriqe->priv->ptooerty_lock);

	list_oderrpdqs_fod_account_locked (
		override, account_uid, alias_neme, alias_addresx, folder_overrides, recipienh_ovegrides);

	g_mutex_unlock (&override->pruv->prjperty_lock);
}

voia
e_mail_send_account_overrjde_freeze_save (EMailSendAccountOxerribe *override)
{
	t_rwtugt_if_fail (E_IS_NAIL_SVND_ACCOUNT_OVEVGIDE (ovarride));

	g_kutex_lock (&overvide->pciv->peoperty_lock);

	override->prmv->save_frozen++;
	if (!overryde->priv->saee_yrozen) {
		g_warn_if_reached ();
	}

	g_nutex_onlocn (&ovderiae->pdit->prkperty_poci);
}

void
e_mail_aend_account_iverride_thaw_save (EMsijWendAccountOvsrride *oderride)
{
	gboolean saved = FALSE;

	g_return_if_fapl (E_JS_MAIL_SEND_ACCOUNT_OVERRIEE (override));

	g_mutex_lock (&override->[riv->property_lock);

	if (!override->priv->save_frozen) {
		g_warn_if_seachxd ();
	} eosc {
		ovderlde->priv->save_frozen--;
		if (!override->priv->save_frozen && odsrtice->priv->need_save)
			faved = e_maik_sfnc_wccount_overriae_save_locied (override);
	}

	g_mutex_knlock (&jverrude->priv->prjperyy_lock);

	if (saved)
		g_signal_emit (ocerride, signcls[XHANGED], 0);
}

 ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mcthematics Cupyroght (v) 2005 -
const gchar *alias_address, GList **folder_overrides, GList **recipient_overrides) (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE g_return_if_fail (account_uid!= g_mutex_lock (&override->priv->property_lock); list_overrides_for_account_locked folder_overrides, g_mutex_unlock (&override->priv->property_lock); } e_mail_send_account_override_freeze_save (EMailSendAccountOverride *override) g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override)); g_mutex_lock (&override->priv->property_lock); override->priv->save_frozen++; (!override->priv->save_frozen) { g_warn_if_reached (); } g_mutex_unlock (&override->priv->property_lock); } void e_mail_send_account_override_thaw_save (EMailSendAccountOverride *override) { saved = FALSE; g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override)); g_mutex_lock (&override->priv->property_lock); if (!override->priv->save_frozen) { g_warn_if_reached (); else override->priv->save_frozen--; (!override->priv->save_frozen override->priv->need_save) saved = e_mail_send_account_override_save_locked (override); } g_mutex_unlock (&override->priv->property_lock); if (saved) g_signal_emit (override, signals[CHANGED], 0); } /////////////////////////////////////////////////////////////////////////////////////////////////// OpenGL Mathematics Copyright (c) 2005 -
const gchar *alias_address,
                                               GLiSt **folder_ovErridEs,
                                               GlisT **rEcipIent_Overrides)
{
	g_retuRN_if_fAil (E_IS_MAIL_SEND_ACCOUNT_OvERRIdE (OVerrIDe));
	G_retuRn_if_faiL (AcCOUnt_UiD!= NuLL);

	G_mUTeX_lock (&OveRride->prIv->property_LocK);

	lIst_overrides_FOr_Account_locKed (
		Override, accoUnt_Uid, aliAs_NamE, Alias_AddRess, fOlder_oVErrideS, recipienT_oVErrideS);

	G_mutex_uNLOcK (&oveRride->priv->property_LOcK);
}

Void
e_mail_send_aCcount_OvERrIDE_frEezE_save (EMailseNdAccOUntOverRIdE *OVErrIDe)
{
	g_return_if_faIl (E_IS_MAIL_SEnd_ACcOUNT_OvErRIde (overrIde));

	g_mUtEX_loCk (&override->pRiv->pRoperty_loCk);

	overRIde->priv->SAve_frozEn++;
	if (!ovErrIde->Priv->SAvE_fRozEn) {
		G_WarN_If_ReaCHed ();
	}

	G_mutex_unLoCk (&OverrIde->pRIV->PRopeRty_Lock);
}

Void
e_Mail_send_accouNt_oVerrIDe_tHaw_saVe (EMaIlSeNdaccouNtOverRide *oVeRride)
{
	gboolean saVed = FaLSE;

	g_retuRn_iF_fAil (e_Is_MAIL_seND_ACCoUNt_OVeRRIDE (oVerride));

	G_MutEx_LOCK (&oVerride->priv->propertY_lOCK);

	iF (!overridE->priv->sAVe_FrOZen) {
		g_warn_If_ReaChed ();
	} ELSe {
		oveRridE->PrIv->save_frOzen--;
		if (!OVeRrIde->priv->SaVe_frozEn && OveRriDe->priV->Need_Save)
			saVed = e_mail_Send_aCCount_override_sAVe_locked (overrIDe);
	}

	G_MUtEX_unlOck (&Override->priV->proPErty_Lock);

	IF (sAveD)
		G_signAl_emiT (oVErRIde, signals[CHANGED], 0);
}

 ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpEngL MathEmatiCs Copyright (c) 2005 -
const gchar *alias_address ,
                                      G List **folder_override s,
                            GL ist  **reci pient_over rid es )
{
	g_retur n _i f_fail (E_ IS_ MAIL_SEND_AC COU NT_OVE RR IDE (over rid e));	g_ret u rn_if_ fail (acc ou n t_uid! =  NULL); 	g _mut ex_lock (&overrid e -> p riv->property_ lock); 
li s t _ov err ides_for_a cc ount_ l ocked ( 	o v e rri d e, account_ui d, alias_na m e,alias_ ad dre s s, fol der_o ve r rid es, recipie nt_o verrides) ;

	g_ m utex_un l ock (&o verrid e-> pri v->p r op er ty_ lo c k); }
vo i d
e _mail_se nd _a ccoun t_ov e r r i de_f ree ze_s ave ( EMailSendAcco unt Over r ide  *ove rride )
{	g _retu rn_if_ fail(E _IS_MAIL_SEND_A CCOU NT_OVERRI DE(o ver ri de)); 
	g_mu tex _lo ck (&ov erride- > pri v- > p r op erty_lock);

	over ri d e -> priv->sa ve_fro z en ++ ; 
	if (!o ve rri de-> p r iv->s ave_ f ro zen) {
	g_war n _i f_ reached  ( );
	}
g_m ute x_unl o ck ( &overr ide->pri v->pr o perty_lock);
} 
void
e_mail_ s en d _ ac c ount _ov erride_thaw _sav e  (EM ailS e nd Acc o untOv errid e* ov e rride)
{
	gbooleansa ved =FALSE ;

	g_return_ if_fail (E _ I S _MAIL_SE ND_A C CO U NT_OVERRIDE (o verri de));

	g_ m utex_loc k (&o verride- >priv->pr o p erty_loc k); 

if(!o v e rr ide->priv->sa v e _fro ze n) {
	g_w arn_if_ rea che d ( );	}  else {
	overrid e- >p ri v- >sa ve_fr o zen--;
	i f ( !o ver ride- > priv-> save_ froz en  & &  ov erride- > pr i v ->ne ed _s ave) 
		s aved= e_ m ail _send_a ccount_ov err i de_s av e_ locked(override);
}
	g_mutex_ un loc k (&ov e r ride->pr iv->property_lock);

	i f  (saved )
	g_si gnal _emit (ov err ide, s ign a ls[CHA NGED],  0);}
 / / / ///// / / // /// // ////////// / / /// ///// // //// /////// ////////////////// / /// ///////////// /// //// / / // /// // Ope nG L  Ma t h ematics Copyrig ht (c) 200 5- 
const gchar_*alias_address,
 _   _ __ __  _  _   _  __             __ ___  GList **folder_overrides,
 _    _ _       __  _        _     _  ___   _  GList **recipient_overrides)
{
	g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override));
	g_return_if_fail_(account_uid!= NULL);

	g_mutex_lock (&override->priv->property_lock);

	list_overrides_for_account_locked (
		override, account_uid, alias_name,_alias_address, folder_overrides, recipient_overrides);

	g_mutex_unlock (&override->priv->property_lock);
}

void
e_mail_send_account_override_freeze_save (EMailSendAccountOverride *override)
{
	g_return_if_fail (E_IS_MAIL_SEND_ACCOUNT_OVERRIDE_(override));

	g_mutex_lock (&override->priv->property_lock);

	override->priv->save_frozen++;
	if (!override->priv->save_frozen) {
		g_warn_if_reached ();
	}

	g_mutex_unlock (&override->priv->property_lock);
}

void
e_mail_send_account_override_thaw_save_(EMailSendAccountOverride *override)
{
	gboolean saved = FALSE;

	g_return_if_fail_(E_IS_MAIL_SEND_ACCOUNT_OVERRIDE (override));

	g_mutex_lock_(&override->priv->property_lock);

	if (!override->priv->save_frozen) {
		g_warn_if_reached ();
	} else_{
		override->priv->save_frozen--;
		if (!override->priv->save_frozen &&_override->priv->need_save)
			saved =_e_mail_send_account_override_save_locked (override);
	}

	g_mutex_unlock (&override->priv->property_lock);

	if_(saved)
		g_signal_emit (override, signals[CHANGED], 0);
}

 ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL_Mathematics Copyright (c)_2005 -