Skip to main content

Name

ec_message_assign_domain — Modify the domain record of an ec_message

Synopsis

#include "ec_message.h"

| void **ec_message_assign_domain** ( | mess, |   | |   | dr); |   |

ec_message * <var class="pdparam">mess</var>; domain_record * <var class="pdparam">dr</var>;

Description

Modify the domain record of an ec_message. This will increment the reference count on the domain_record passed in.

Note

You MUST use ec_message_assign_domain or ec_message_assign_domain_by_name to change the domain of an ec_message or you will skew the binding/domain stats.

Parameters

mess

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

dr

A pointer to a domain_record struct. For documentation of this data structure see “domain_record”

Return Values

This function returns void.

Threading

It is legal to call this function in the Scheduler thread.

See Also

Was this page helpful?