#include <connman/types.h>
#include <connman/device.h>
+#include <connman/ipconfig.h>
#ifdef __cplusplus
extern "C" {
connman_bool_t connman_network_get_associating(struct connman_network *network);
+void connman_network_set_method(struct connman_network *network,
+ enum connman_ipconfig_method method);
+
int connman_network_set_address(struct connman_network *network,
const void *address, unsigned int size);
int connman_network_set_name(struct connman_network *network,
CONNMAN_SERVICE_STATE_FAILURE);
}
+void connman_network_set_method(struct connman_network *network,
+ enum connman_ipconfig_method method)
+{
+ network->element.ipv4.method = method;
+}
+
void connman_network_set_error(struct connman_network *network,
enum connman_network_error error)
{