# Synopsis

(macro) OQM_QUEUE *oqm_CreateQueue(long option, size_t objectsize, int blocksize, void *userdata)

# Purpose

Create an object queue.

# Description

This function will create an object queue of the specified objectsize and blocksize. The blocksize is used to buffer the transactions performed on the queue.

# Input

## option

Options (not used)

## objectsize

Number of bytes in object

## blocksize

Number of objects in block

## userdata

User pointer to store with queue

# Return

Queue pointer or NULL if error