DBusMessage *__connman_error_not_implemented(DBusMessage *msg);
DBusMessage *__connman_error_no_carrier(DBusMessage *msg);
DBusMessage *__connman_error_in_progress(DBusMessage *msg);
+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);
void __connman_toggle_debug(void);
gboolean __connman_debug_enabled(void);
+#include <connman/option.h>
+
#include <connman/plugin.h>
int __connman_plugin_init(const char *pattern, const char *exclude);
const char *__connman_ipv4_method2string(enum connman_ipv4_method method);
enum connman_ipv4_method __connman_ipv4_string2method(const char *method);
+#include <connman/inet.h>
+
+#include <connman/rfkill.h>
+
+int __connman_rfkill_init(void);
+void __connman_rfkill_cleanup(void);
+
#include <connman/ipconfig.h>
#include <connman/resolver.h>
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)
{
static inline void __connman_udev_cleanup(void)
{
}
+
+static inline char *__connman_udev_get_devtype(const char *ifname)
+{
+ return NULL;
+}
#endif
#include <connman/device.h>
void __connman_network_set_device(struct connman_network *network,
struct connman_device *device);
+int __connman_network_connect(struct connman_network *network);
int __connman_network_disconnect(struct connman_network *network);
connman_bool_t __connman_network_has_driver(struct connman_network *network);
void __connman_service_list(DBusMessageIter *iter);
+void __connman_service_put(struct connman_service *service);
+
struct connman_service *__connman_service_lookup_from_device(struct connman_device *device);
struct connman_service *__connman_service_create_from_device(struct connman_device *device);
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,
enum connman_service_state state);
+int __connman_service_indicate_default(struct connman_service *service);
#include <connman/notifier.h>