2 * Network Configuration Module
4 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __NETCONFIG_ERROR_H__
21 #define __NETCONFIG_ERROR_H__
32 NETCONFIG_NO_ERROR = 0x00,
33 NETCONFIG_ERROR_INTERNAL = 0x01,
34 NETCONFIG_ERROR_NO_SERVICE = 0x02,
35 NETCONFIG_ERROR_TRASPORT = 0x03,
36 NETCONFIG_ERROR_NO_PROFILE = 0x04,
37 NETCONFIG_ERROR_WRONG_PROFILE = 0x05,
38 NETCONFIG_ERROR_WIFI_LOAD_INPROGRESS = 0x06,
39 NETCONFIG_ERROR_WIFI_DRIVER_FAILURE = 0x07,
40 NETCONFIG_ERROR_SECURITY_RESTRICTED = 0x08,
41 NETCONFIG_ERROR_FAILED_GET_IMSI = 0x09,
42 NETCONFIG_ERROR_FAILED_REQ_SIM_AUTH = 0x0A,
43 NETCONFIG_ERROR_FAILED_REQ_SIM_AUTH_WRONG_PARAM = 0x0B,
44 NETCONFIG_ERROR_FAILED_GET_SIM_AUTH_WRONG_DATA = 0x0C,
45 NETCONFIG_ERROR_FAILED_GET_SIM_AUTH_DELAY = 0x0D,
46 NETCONFIG_ERROR_MAX = 0x0E,
49 GQuark netconfig_error_quark(void);
51 #define NETCONFIG_ERROR_QUARK (netconfig_error_quark())
59 void netconfig_error_wifi_load_inprogress(GError **error);
60 void netconfig_error_wifi_driver_failed(GError **error);
61 void netconfig_error_security_restricted(GError **error);
62 void netconfig_error_wifi_direct_failed(GError **error);
63 void netconfig_error_fail_get_imsi(GError **error);
64 void netconfig_error_fail_req_sim_auth(GError **error);
65 void netconfig_error_fail_req_sim_auth_wrong_param(GError **error);
66 void netconfig_error_fail_get_sim_auth_wrong_data(GError **error);
67 void netconfig_error_fail_get_sim_auth_delay(GError **error);
69 #endif /* __NETCONFIG_ERROR_H__ */