ec_message_get_routing_domain2

March 26, 2020 Contributors

Name

ec_message_get_routing_domain2 — Get the routing domain of the message

Synopsis

#include "ec_message.h"

| int **ec_message_get_routing_domain2** ( | message, |   |
|   | domain); |   |

ec_message * <var class="pdparam">message</var>;
string * <var class="pdparam">domain</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

An ec_string structure pointer (string *) which has the length already encoded. For documentation of this data structure see “string”.

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

ec_message_get_routing_domain.