BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

list.h File Reference

Linked List data structure. More...

Go to the source code of this file.

Data Structures

struct  pj_list
 

Macros

#define PJ_DECL_LIST_MEMBER(type)
 

Functions

void pj_list_init (pj_list_type *node)
 
int pj_list_empty (const pj_list_type *node)
 
void pj_list_insert_before (pj_list_type *pos, pj_list_type *node)
 
void pj_list_push_back (pj_list_type *list, pj_list_type *node)
 
void pj_list_insert_nodes_before (pj_list_type *lst, pj_list_type *nodes)
 
void pj_list_insert_after (pj_list_type *pos, pj_list_type *node)
 
void pj_list_push_front (pj_list_type *list, pj_list_type *node)
 
void pj_list_insert_nodes_after (pj_list_type *lst, pj_list_type *nodes)
 
void pj_list_merge_first (pj_list_type *list1, pj_list_type *list2)
 
void pj_list_merge_last (pj_list_type *list1, pj_list_type *list2)
 
void pj_list_erase (pj_list_type *node)
 
pj_list_typepj_list_find_node (pj_list_type *list, pj_list_type *node)
 
pj_list_typepj_list_search (pj_list_type *list, void *value, int(*comp)(void *value, const pj_list_type *node))
 
pj_size_t pj_list_size (const pj_list_type *list)
 

Detailed Description

Linked List data structure.

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.