const char *connman_network_get_identifier(struct connman_network *network);
const char *connman_network_get_path(struct connman_network *network);
+
+struct connman_element *connman_network_get_element(
+ struct connman_network *network);
void connman_network_set_index(struct connman_network *network, int index);
int connman_network_get_index(struct connman_network *network);
return network->element.index;
}
+/**
+ * connman_network_get_element:
+ * @network: network structure
+ *
+ * Get connman_element of network
+ */
+struct connman_element *connman_network_get_element(
+ struct connman_network *network)
+{
+ return &network->element;
+}
+
/**
* connman_network_set_protocol:
* @network: network structure