MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Functions
linklist.h File Reference
#include "hdf.h"

Go to the source code of this file.

Data Structures

struct  node_info_struct_tag
 
struct  list_head_struct_tag
 

Macros

#define HUL_UNSORTED_LIST   0x0000
 
#define HUL_SORTED_LIST   0x0001
 

Typedefs

typedef intn(* HULsearch_func_t) (const VOIDP obj, const VOIDP key)
 
typedef intn(* HULfind_func_t) (const VOIDP obj1, const VOIDP obj2)
 
typedef struct node_info_struct_tag node_info_t
 
typedef struct list_head_struct_tag list_head_t
 

Functions

list_head_tHULcreate_list (HULfind_func_t find_func)
 
intn HULdestroy_list (list_head_t *lst)
 
intn HULadd_node (list_head_t *lst, VOIDP obj)
 
VOIDP HULsearch_node (list_head_t *lst, HULsearch_func_t srch_func, VOIDP key)
 
VOIDP HULfirst_node (list_head_t *lst)
 
VOIDP HULnext_node (list_head_t *lst)
 
VOIDP HULremove_node (list_head_t *lst, HULsearch_func_t srch_func, VOIDP key)
 
intn HULshutdown (void)
 

Macro Definition Documentation

◆ HUL_SORTED_LIST

#define HUL_SORTED_LIST   0x0001

Definition at line 34 of file linklist.h.

◆ HUL_UNSORTED_LIST

#define HUL_UNSORTED_LIST   0x0000

Definition at line 33 of file linklist.h.

Typedef Documentation

◆ HULfind_func_t

typedef intn(* HULfind_func_t) (const VOIDP obj1, const VOIDP obj2)

Definition at line 40 of file linklist.h.

◆ HULsearch_func_t

typedef intn(* HULsearch_func_t) (const VOIDP obj, const VOIDP key)

Definition at line 37 of file linklist.h.

◆ list_head_t

◆ node_info_t

Function Documentation

◆ HULadd_node()

intn HULadd_node ( list_head_t lst,
VOIDP  obj 
)

◆ HULcreate_list()

list_head_t* HULcreate_list ( HULfind_func_t  find_func)

◆ HULdestroy_list()

intn HULdestroy_list ( list_head_t lst)

◆ HULfirst_node()

VOIDP HULfirst_node ( list_head_t lst)

◆ HULnext_node()

VOIDP HULnext_node ( list_head_t lst)

◆ HULremove_node()

VOIDP HULremove_node ( list_head_t lst,
HULsearch_func_t  srch_func,
VOIDP  key 
)

◆ HULsearch_node()

VOIDP HULsearch_node ( list_head_t lst,
HULsearch_func_t  srch_func,
VOIDP  key 
)

◆ HULshutdown()

intn HULshutdown ( void  )

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53