IP_NserveSetDomain

IP_NserveSetDomain — changes a task's domain name.

Syntax

#include <cogent.h>
int IP_NserveSetDomain(IP_Task*  task,
 char*  domain);

Arguments

task

A pointer to task structure for this task.

domain

A new domain name for this task.

Returns

0 on success, or -1 on failure and errno is set.

Description

This function modifies the domain name of the task, and informs nserve of that change.

See Also

The Cascade NameServer, Cascade NameServer Functions, nserve