[ACR-456]Add enumeration for connection type #2 76/56176/3
authortaesub.kim <taesub.kim@samsung.com>
Tue, 5 Jan 2016 08:02:24 +0000 (17:02 +0900)
committertaesub.kim <taesub.kim@samsung.com>
Wed, 6 Jan 2016 01:09:17 +0000 (10:09 +0900)
Change-Id: I5b528a18ffa1bc5495da8d7e1db2df9bbea57d97
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
doc/net_connection_doc.h
include/net_connection.h
src/connection.c

index cb3446a..ee120f5 100755 (executable)
@@ -52,6 +52,7 @@
  * - http://tizen.org/feature/network.wifi\n
  * - http://tizen.org/feature/network.telephony\n
  * - http://tizen.org/feature/network.tethering.bluetooth\n
+ * - http://tizen.org/feature/network.net_proxy\n
  *
  * It is recommended to design feature related codes in your application for reliability.\n
  *
index 9cbb5b6..657ae0e 100755 (executable)
@@ -55,7 +55,7 @@ typedef enum
     CONNECTION_TYPE_CELLULAR = 2,  /**< Cellular type */
     CONNECTION_TYPE_ETHERNET = 3,  /**< Ethernet type */
     CONNECTION_TYPE_BT = 4,  /**< Bluetooth type */
-    CONNECTION_TYPE_PROXY, /**< Proxy type (Since 3.0) */
+    CONNECTION_TYPE_NET_PROXY, /**< Proxy type for internet connection (Since 3.0) */
 } connection_type_e;
 
 /**
index 1ea68af..a6b0290 100755 (executable)
@@ -35,7 +35,7 @@ static int __connection_convert_net_state(int status)
        case VCONFKEY_NETWORK_BLUETOOTH:
                return CONNECTION_TYPE_BT;
        case VCONFKEY_NETWORK_DEFAULT_PROXY:
-               return CONNECTION_TYPE_PROXY;
+               return CONNECTION_TYPE_NET_PROXY;
        default:
                return CONNECTION_TYPE_DISCONNECTED;
        }