const char *__connman_network_get_ident(struct connman_network *network) { if (network->device == NULL) return NULL; return connman_device_get_ident(network->device); }
static char *get_peer_path(struct connman_device *device, const char *identifier) { return g_strdup_printf("%s/peer/peer_%s_%s", CONNMAN_PATH, connman_device_get_ident(device), identifier); }