Synopsis

void *olm_GetArray(long option, OLM_LIST *list, int *arraysize)

Purpose

Get an array of objects from an object list.

Description

This function will return the entire list of objects as an array. The last object in the list will become the current. Since memory is allocated for the array, the array pointer should be freed when done.

Input

option

Options (not used)

list

Object list pointer

Output

arraysize

Number of objects in array

Return

Object array pointer or NULL if error