(C) 1998 AROS - The Amiga Research OS


NAME
#include <>
#include <proto/exec.h>
#include <proto/commodities.h>
#include <libraries/commodities.h>

VOID EnqueueCxObj (headObj , co )

LOCATION
In CxBase at offset 15

SYNOPSIS
CxObj * headObj
CxObj * co

FUNCTION
Insert commodity object 'co' into the list of objects connected to 'headObj' according to the priority of 'co'. (The priority of an object can be set by the function SetCxObjPri().)

INPUTS
headObj
the object to which 'co' shall be inserted.
co
a pointer to a commodity object

RESULT
If 'headObj' is NULL, the object 'co' and all objects connected to it are deleted. If 'co' is NULL and 'headObj' is a valid object, the latter's accumulated error will be adjusted to incorporate COERR_NULLATTACH.

EXAMPLE

SEE ALSO
SetCxObjPri(), CxObjError(), ClearCxObjError(), <libraries/commodities.h>

NOTES
For nodes with equal priority, this function inserts object like within a FIFO queue.

BUGS

INTERNALS

HISTORY
18.07.1999 SDuvan
Finally -- commodities.library