Salad  1.0.15
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields | Related Functions
sld_list Struct Reference

#include <list.h>

Data Fields

SLD_UINT size
 
struct sld_nodehead
 

Related Functions

SLD_SSINT sld_list_init (struct sld_list *list)
 Initializes a sld_list. More...
 
SLD_UINT sld_list_size (struct sld_list *list)
 Returns the size of a sld_list. More...
 
SLD_SSINT sld_list_add (struct sld_list *list, void *object)
 Adds an object to a sld_list. More...
 
void sld_list_delete (struct sld_list *list, SLD_UINT index)
 Removes an object from a sld_list at the specified index. More...
 
void * sld_list_get (struct sld_list *list, SLD_UINT index)
 Returns an object from an sld_list at index. More...
 
void * sld_list_pop (struct sld_list *list)
 Returns and removes the last object in a sld_list. More...
 
void sld_list_free (struct sld_list *list)
 Frees any memory allocated for an initialized sld_list. More...
 

Detailed Description

A sld_list contains sld_node structures

Examples:
list.c.

Field Documentation

struct sld_node* sld_list::head

the starting sld_node of the sld_list

SLD_UINT sld_list::size

contains the size of the sld_list


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