Add error code for invalid properties
[framework/connectivity/connman.git] / src / connman.h
index 98014b8..0f09e43 100644 (file)
@@ -43,6 +43,7 @@ DBusMessage *__connman_error_already_connected(DBusMessage *msg);
 DBusMessage *__connman_error_operation_aborted(DBusMessage *msg);
 DBusMessage *__connman_error_operation_timeout(DBusMessage *msg);
 DBusMessage *__connman_error_invalid_service(DBusMessage *msg);
+DBusMessage *__connman_error_invalid_property(DBusMessage *msg);
 
 int __connman_selftest(void);
 
@@ -93,6 +94,9 @@ enum connman_ipv4_method __connman_ipv4_string2method(const char *method);
 
 #include <connman/rfkill.h>
 
+int __connman_rfkill_init(void);
+void __connman_rfkill_cleanup(void);
+
 #include <connman/ipconfig.h>
 
 #include <connman/resolver.h>
@@ -172,9 +176,12 @@ void __connman_ipv4_cleanup(void);
 int __connman_connection_init(void);
 void __connman_connection_cleanup(void);
 
+void __connman_connection_update_gateway(void);
+
 #ifdef HAVE_UDEV
 int __connman_udev_init(void);
 void __connman_udev_cleanup(void);
+char *__connman_udev_get_devtype(const char *ifname);
 #else
 static inline int __connman_udev_init(void)
 {
@@ -184,6 +191,11 @@ static inline int __connman_udev_init(void)
 static inline void __connman_udev_cleanup(void)
 {
 }
+
+static inline char *__connman_udev_get_devtype(const char *ifname)
+{
+       return NULL;
+}
 #endif
 
 #include <connman/device.h>
@@ -245,6 +257,8 @@ struct connman_service *__connman_service_create_from_device(struct connman_devi
 struct connman_service *__connman_service_lookup_from_network(struct connman_network *network);
 struct connman_service *__connman_service_create_from_network(struct connman_network *network);
 
+unsigned int __connman_service_get_order(struct connman_service *service);
+
 int __connman_service_set_carrier(struct connman_service *service,
                                                connman_bool_t carrier);
 int __connman_service_indicate_state(struct connman_service *service,