4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Kyuho Jo <kyuho.jo@samsung.com>, Sunghyun Kwon <sh0701.kwon@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
24 /******************************************************************************
25 * File : email-core-global.c
26 * Desc : Mail Engine Global
31 * 2010.08.25 : created
32 *****************************************************************************/
36 #include "email-core-global.h"
38 emf_account_t g_new_account;
39 emf_account_list_t *g_account_list = NULL;
40 int g_account_num = 0;
41 int g_account_retrieved = 0;
43 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __THROW __nonnull ((1));
45 INTERNAL_FUNC emf_account_t *emcore_get_new_account_reference()
47 return &g_new_account;