CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
list.c File Reference

This file contains definitions and implementation for a simple list. More...

#include "list_api.h"

Functions

void CdiListInit (CdiList *list_ptr)
 

Detailed Description

This file contains definitions and implementation for a simple list.

Function Documentation

◆ CdiListInit()

void CdiListInit ( CdiList * list_ptr)

Initialize a list. Doesn't need to be inline, since it is only used once for each instance of the list.

NOTE: All the APIs in this file are not thread-safe. However, read list entry APIs that use next_entry_ptr such as CdiListIteratorGetNext() can be used without thread-safe resource locks.

Parameters
list_ptrPointer to instance of the list.