CONNMAN_SERVICE_TYPE_CELLULAR = 6,
CONNMAN_SERVICE_TYPE_GPS = 7,
CONNMAN_SERVICE_TYPE_VPN = 8,
-};
-
-enum connman_service_mode {
- CONNMAN_SERVICE_MODE_UNKNOWN = 0,
- CONNMAN_SERVICE_MODE_MANAGED = 1,
- CONNMAN_SERVICE_MODE_ADHOC = 2,
- CONNMAN_SERVICE_MODE_GPRS = 3,
- CONNMAN_SERVICE_MODE_EDGE = 4,
- CONNMAN_SERVICE_MODE_UMTS = 5,
+ CONNMAN_SERVICE_TYPE_GADGET = 9,
};
enum connman_service_security {
CONNMAN_SERVICE_ERROR_PIN_MISSING = 2,
CONNMAN_SERVICE_ERROR_DHCP_FAILED = 3,
CONNMAN_SERVICE_ERROR_CONNECT_FAILED = 4,
+ CONNMAN_SERVICE_ERROR_LOGIN_FAILED = 5,
+ CONNMAN_SERVICE_ERROR_AUTH_FAILED = 6,
+ CONNMAN_SERVICE_ERROR_INVALID_KEY = 7,
+};
+
+enum connman_service_proxy_method {
+ CONNMAN_SERVICE_PROXY_METHOD_UNKNOWN = 0,
+ CONNMAN_SERVICE_PROXY_METHOD_DIRECT = 1,
+ CONNMAN_SERVICE_PROXY_METHOD_MANUAL = 2,
+ CONNMAN_SERVICE_PROXY_METHOD_AUTO = 3,
};
struct connman_service;
enum connman_service_type connman_service_get_type(struct connman_service *service);
char *connman_service_get_interface(struct connman_service *service);
+const char *connman_service_get_domainname(struct connman_service *service);
+char **connman_service_get_nameservers(struct connman_service *service);
+void connman_service_set_proxy_method(struct connman_service *service, enum connman_service_proxy_method method);
+enum connman_service_proxy_method connman_service_get_proxy_method(struct connman_service *service);
+char **connman_service_get_proxy_servers(struct connman_service *service);
+char **connman_service_get_proxy_excludes(struct connman_service *service);
+const char *connman_service_get_proxy_url(struct connman_service *service);
+const char *connman_service_get_proxy_autoconfig(struct connman_service *service);
+
#ifdef __cplusplus
}
#endif