tibemsTopic_GetTopicName


Function

Purpose

Get the name of a topic object.

C Declaration

tibems_status tibemsTopic_GetTopicName( 
    tibemsTopic topic, 
    char* name, 
    tibems_int name_len ); 

COBOL Call

CALL "tibemsTopic_GetTopicName" 
     USING BY VALUE topic, 
           BY REFERENCE name, 
           BY VALUE name-len, 
           RETURNING tibems-status 
END-CALL. 

topic has usage pointer.

Remarks

Each topic has a lookup name that is unique among all topics.

Parameters

Parameter
Description
topic
Get the name of this topic.
name
The function copies the name to this location.
name_len
Length of the name buffer.

Remarks

A null character terminates the copied name string.

Your program must allocate the name buffer, and pass its length to the function.


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com