Constructor

FoundryAcpEventnew

unstable since: 1.2

Declaration [src]

FoundryAcpEvent*
foundry_acp_event_new (
  const char* session_id,
  FoundryAcpEventKind kind
)

Description [src]

Creates a new monitoring event.

Available since: 1.2

Parameters

session_id

Type: const char*

The ACP session identifier.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
kind

Type: FoundryAcpEventKind

The normalized event kind.

Return value

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