Constructor

FoundryAcpConnectionnew

unstable since: 1.2

Declaration [src]

FoundryAcpConnection*
foundry_acp_connection_new (
  FoundryContext* context,
  FoundryAcpAgent* agent,
  FoundryAcpClient* client
)

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.

Return value

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