tor  master
smartlist_t Struct Reference

#include <container.h>

Data Fields

void ** list
 
int num_used
 
int capacity
 

Detailed Description

A resizeable list of pointers, with associated helpful functionality.

The members of this struct are exposed only so that macros and inlines can use them; all access to smartlist internals should go through the functions and macros defined here.

Field Documentation

◆ list

void** list

list has enough capacity to store exactly capacity elements before it needs to be resized. Only the first num_used (<= capacity) elements point to valid data.


The documentation for this struct was generated from the following file: