ajlist


Enum AjEListType

AJAX List Type enumeration

Enumerated value(s)

Name
ajEListTypeAnyAny data
ajEListTypeStrString data


Data type AjPListNode

AJAX List Node

Alias name(s)

Name
AjSListNode
AjOListNode

Attributes

NameTypeDescription
Nextstruct AjSListNode*Next AJAX List Node object
Prevstruct AjSListNode*Previous AJAX List Node object
Itemvoid*Data value


Data type AjPList

List data object. Lists are simple linked lists with performance optimised to allow rapid extension of the beginning or end of the list.

Lists can hold any data type. Special functions are available for lists of AjPStr values. In general, these functions are the same. Many are provided for ease of use to save remembering which calls need special cases.

Alias name(s)

Name
AjSList
AjOList

Attributes

NameTypeDescription
FirstAjPListNodefirst node
LastAjPListNodedummy last node
Fitemdelvoid functionItem destructor, or NULL if not an object
CountajulongNumber of nodes
UseajuintReference count
PaddingAjBoolPadding to alignment boundary


Data type AjIList

AJAX list iterator data structure

Alias name(s)

Name
AjSIList
AjOIList

Attributes

NameTypeDescription
HeadAjPListHead of modifiable list
ReadHeadconst AjPListHead of read-only list
HereAjPListNodeCurrent list node
BackAjBoolDirection of last iterative move, true if reading back
ModifyAjBoolAllows iterator to modify the sequence