Constructor

P2pandaTopicnew

Declaration [src]

P2pandaTopic*
p2panda_topic_new (
  P2pandaNode* node,
  P2pandaTopicId* topic_id,
  uint flags
)

Description [src]

Create a topic handle for the give P2pandaNode.

Parameters

node

Type: P2pandaNode

No description available.

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

Type: P2pandaTopicId

No description available.

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

Type: uint

No description available.

Return value

Type: P2pandaTopic

A new P2pandaNode.

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