Skip to main content

ec_message_get_routing_domain

Last updated March 2020

Name

ec_message_get_routing_domain — Get the routing domain of the message

Synopsis

#include "ec_message.h"

| int **ec_message_get_routing_domain** ( | message, |   | |   | domain, |   | |   | dlen); |   |

ec_message * <var class="pdparam">message</var>; char * <var class="pdparam">domain</var>; int <var class="pdparam">dlen</var>;

Description

Get the routing domain of a message.

Parameters

message

A pointer to an ec_message struct. For documentation of this data structure see “ec_message”

domain

A char pointer referring to the domain string. The domain string must be at least of length MAXDOMAINNAME.

dlen

An integer value indicating the length of the domain string, which should be at least MAXDOMAINNAME length.

Return Values

This function returns a 1 if the call successfully determined the routing domain. It returns a zero (0) if the routing domain could not be identified.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?