Method

PurpleProtocolActioncopy

since: 3.0

Declaration [src]

PurpleProtocolAction*
purple_protocol_action_copy (
  PurpleProtocolAction* action
)

Description [src]

Creates a newly allocated copy of action.

Available since: 3.0

Return value

Type: PurpleProtocolAction

A copy of action.

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