ec_message_assign_domain_by_name
Name
ec_message_assign_domain_by_name — Assign the domain field of an ec_message based on the domain name string passed in as an argument
Synopsis
#include "ec_message.h"
| domain_record * **ec_message_assign_domain_by_name** (
| mess, | |
| | domain_name)
; | |
Description
Modify the domain field of an ec_message based on the domain name string passed in as an argument.
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.
- mess
-
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”
- domain_name
-
A constant string (pointer to const char).
This function returns a pointer to a domain_record. This is the address of a domain_record in the list of currently used domains. For documentation of this data structure see “domain_record”
It is legal to call this function in the Scheduler
thread.