struct connman_network *connman_network_create(const char *identifier,
enum connman_network_type type);
-struct connman_network *connman_network_ref(struct connman_network *network);
-void connman_network_unref(struct connman_network *network);
+
+#define connman_network_ref(network) \
+ connman_network_ref_debug(network, __FILE__, __LINE__, __func__)
+
+#define connman_network_unref(network) \
+ connman_network_unref_debug(network, __FILE__, __LINE__, __func__)
+
+struct connman_network *
+connman_network_ref_debug(struct connman_network *network,
+ const char *file, int line, const char *caller);
+void connman_network_unref_debug(struct connman_network *network,
+ const char *file, int line, const char *caller);
enum connman_network_type connman_network_get_type(struct connman_network *network);
const char *connman_network_get_identifier(struct connman_network *network);
connman_bool_t connman_network_get_associating(struct connman_network *network);
+int connman_network_connect_hidden(struct connman_network *network,
+ char *identity, char* passphrase);
+
void connman_network_set_ipv4_method(struct connman_network *network,
enum connman_ipconfig_method method);
void connman_network_set_ipv6_method(struct connman_network *network,
int connman_network_set_strength(struct connman_network *network,
connman_uint8_t strength);
connman_uint8_t connman_network_get_strength(struct connman_network *network);
-int connman_network_set_roaming(struct connman_network *network,
- connman_bool_t roaming);
int connman_network_set_frequency(struct connman_network *network,
connman_uint16_t frequency);
connman_uint16_t connman_network_get_frequency(struct connman_network *network);