ret = session_objd;
goto objd_error;
}
- session->objd = session_objd;
- session->owner = owner;
+ session->priv->objd = session_objd;
+ session->priv->owner = owner;
return session_objd;
objd_error:
goto invalid;
}
- if (session->been_active) {
+ if (session->priv->been_active) {
ret = -EBUSY;
goto active; /* Refuse to add channel to active session */
}
memcpy(<tng_chan->chan->backend.config,
transport->client_config,
sizeof(lttng_chan->chan->backend.config));
- cds_list_add(<tng_chan->node, &session->chan_head);
+ cds_list_add(<tng_chan->node, &session->priv->chan_head);
lttng_chan->header_type = 0;
lttng_chan->handle = channel_handle;
lttng_chan->type = type;
struct lttng_channel *channel = objd_private(objd);
if (channel)
- return lttng_ust_objd_unref(channel->session->objd, 0);
+ return lttng_ust_objd_unref(channel->session->priv->objd, 0);
return 0;
}