IP_TaskSetInfo

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskSetInfo`

`IP_TaskSetInfo` -- sets the fields in a task structure.

## Syntax

``IP_Task* IP_TaskSetInfo`(IP_Task* task, int nid, int pid, int chid, char* name, char* domain, char* qname, int security, void* userdata);`

## Arguments

`task`

  A task pointer.

`nid`

  A node ID.

`pid`

  A process ID.

`chid`

  A channel ID.

`name`

  The name of the task.

`domain`

  The domain name, or `NULL`.

`qname`

  A queue name, or `NULL`.

`security`

  Unused, should be `0`.

`userdata`

  A pointer to user-defined data, or `NULL`.

## Returns

`task`

## Description

This function sets the various fields in the task structure. It is simply a convenience function. If `domain` is `NULL`, the default domain is used.

## See Also

Task Structures, Domains in the Cascade NameServer chapter, `IP_TaskSetDomain`, `IP_TaskDefaultDomain`

Prev | Home | Next
`IP_TaskSetDomain` | Up | `IP_TaskSetQname`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.