Diffusion C API  6.4.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
topic.h File Reference

Functions which are used for accessing topics and their contents. More...

Functions

const char * topic_get_header_indexed (const TOPIC_MESSAGE_T *topic_message, const int index)
 Access a topic message header by indexed position. More...
 

Detailed Description

Functions which are used for accessing topics and their contents.

Copyright © 2014, 2015 Push Technology Ltd., All Rights Reserved.

Use is subject to license terms.

NOTICE: All information contained herein is, and remains the property of Push Technology. The intellectual and technical concepts contained herein are proprietary to Push Technology and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law.

Function Documentation

const char* topic_get_header_indexed ( const TOPIC_MESSAGE_T topic_message,
const int  index 
)

Access a topic message header by indexed position.

Parameters
topic_messageA topic message.
indexThe index of the header to be returned.
Return values
const char *A pointer to the header in the message (not a copy).
NULLIf the header could not be found (e.g. index out of range).