Synopsis

OLM_LIST *olm_CreateList(long option, size_t objectsize, int blocksize, void *userdata)

Purpose

Create an object list.

Description

This function will create a list with the specified objectsize and blocksize. The blocksize is used to buffer the objects.

Input

option

Options (not used)

objectsize

Number of bytes in object

blocksize

Number of objects in block

userdata

Data pointer to store with the list

Return

List pointer or NULL if error