Constructor

FoundryAcpConnectionnew_for_pipeline

unstable since: 1.2

Declaration [src]

FoundryAcpConnection*
foundry_acp_connection_new_for_pipeline (
  FoundryContext* context,
  FoundryAcpAgent* agent,
  FoundryAcpClient* client,
  FoundryBuildPipeline* pipeline
)

Description [src]

Creates a connection object for agent.

Available since: 1.2

Parameters

context

Type: FoundryContext

A FoundryContext.

The data is owned by the caller of the function.
agent

Type: FoundryAcpAgent

A FoundryAcpAgent.

The data is owned by the caller of the function.
client

Type: FoundryAcpClient

A FoundryAcpClient.

The data is owned by the caller of the function.
pipeline

Type: FoundryBuildPipeline

A FoundryBuildPipeline associated with the connection.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.