00001 #ifndef NETWORK_API_DEFINES_H
00002 #define NETWORK_API_DEFINES_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039
00051 enum icd_nw_status {
00055 ICD_NW_SUCCESS = 0,
00059 ICD_NW_SUCCESS_NEXT_LAYER = 1,
00063 ICD_NW_RESTART = 2,
00069 ICD_NW_ERROR = 3,
00072 ICD_NW_TOO_MANY_CONNECTIONS = 4,
00075 ICD_NW_ERROR_USER_ACTION_DONE = 5,
00081 ICD_NW_RESTART_IP = 6,
00084 ICD_NW_RESTART_LINK_POST = 7,
00087 ICD_NW_RESTART_LINK = 8
00088 };
00089
00091 enum icd_nw_renew_status {
00094 ICD_NW_RENEW_NO_CHANGES = 0,
00096 ICD_NW_RENEW_CHANGES_MADE = 1
00097 };
00098
00100 enum icd_nw_levels {
00102 ICD_NW_LEVEL_NONE = 0,
00104 ICD_NW_LEVEL_1,
00106 ICD_NW_LEVEL_2,
00108 ICD_NW_LEVEL_3,
00110 ICD_NW_LEVEL_4,
00112 ICD_NW_LEVEL_5,
00114 ICD_NW_LEVEL_6,
00116 ICD_NW_LEVEL_7,
00118 ICD_NW_LEVEL_8,
00120 ICD_NW_LEVEL_9,
00122 ICD_NW_LEVEL_10
00123 };
00124
00125
00127 #define ICD_NW_ATTR_IAPNAME 0x01000000
00128
00129 #define ICD_NW_ATTR_SILENT 0x02000000
00130
00132 #define ICD_NW_ATTR_AUTOCONNECT 0x04000000
00133
00135 #define ICD_NW_ATTR_SRV_PROVIDER 0x10000000
00136
00138 #define ICD_NW_ATTR_ALWAYS_ONLINE 0x20000000
00139
00141 #define ICD_NW_ATTR_LOCALMASK 0x00FFFFFF
00142
00143
00145 enum icd_network_search_status {
00147 ICD_NW_SEARCH_CONTINUE = 0,
00150 ICD_NW_SEARCH_COMPLETE = 1,
00153 ICD_NW_SEARCH_EXPIRE = 2
00154 };
00155
00157 #define ICD_NW_SEARCH_SCOPE_ALL 0x0
00158
00159 #define ICD_NW_SEARCH_SCOPE_SAVED 0x1
00160
00162 enum icd_nw_layer {
00164 ICD_NW_LAYER_NONE = 0,
00166 ICD_NW_LAYER_LINK = 1,
00168 ICD_NW_LAYER_LINK_POST = 2,
00170 ICD_NW_LAYER_IP = 3,
00172 ICD_NW_LAYER_SERVICE = 4,
00174 ICD_NW_LAYER_ALL = 5
00175 };
00176
00179 #ifdef __cplusplus
00180 }
00181 #endif
00182
00183 #endif