void axl_list_add_at ( axlList list,
axlPointer  pointer,
int  position 
)

Allows to adds the provided item to the given list at the selected position.

The function will perform an indexed addition, using the value position, by-passing current list configuration (axl_list_new).

If the position is greater than the length of the list, the item is added at the end of the list. If the position is 0, the item is added at the begin (equivalent to call axl_list_prepend).

If an item is found at the provided position, the element is added before the already found.

Parameters:
list The list where the addition operation will be performed.
pointer The item to add to the list.
position Position where the addition operation will be performed. Values allowed ranges from 0 up to list length - 1.