design_pattern_for_c  V 1.00
dp_list.h File Reference

Utility list API for design pattern. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dputil_list_data_t
 ! More...
 
struct  dputil_list_t
 

Typedefs

List Structure
typedef struct dputil_list_data_tDPUtilListData
 Typedef class DPUtilListData, member is defined in struct dputil_list_data_t. More...
 
typedef struct dputil_list_tDPUtilList
 

Functions

List API
void dputil_list_push (DPUtilList this, DPUtilListData data)
 list push More...
 
void dputil_list_insert (DPUtilList this, DPUtilListData prev, DPUtilListData data)
 list insert to point More...
 
void dputil_list_pull (DPUtilList this, DPUtilListData data)
 list pull More...
 
DPUtilListData dputil_list_pop (DPUtilList this)
 list pop More...
 

Detailed Description

Utility list API for design pattern.

Definition in file dp_list.h.

Typedef Documentation

◆ DPUtilList

typedef struct dputil_list_t* DPUtilList

Definition at line 22 of file dp_list.h.

◆ DPUtilListData

Typedef class DPUtilListData, member is defined in struct dputil_list_data_t.

Definition at line 11 of file dp_list.h.

Function Documentation

◆ dputil_list_insert()

void dputil_list_insert ( DPUtilList  this,
DPUtilListData  prev,
DPUtilListData  data 
)

list insert to point

Definition at line 36 of file dp_util.c.

Here is the call graph for this function:

◆ dputil_list_pop()

DPUtilListData dputil_list_pop ( DPUtilList  this)

list pop

Definition at line 80 of file dp_util.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dputil_list_pull()

void dputil_list_pull ( DPUtilList  this,
DPUtilListData  data 
)

list pull

Definition at line 59 of file dp_util.c.

Here is the caller graph for this function:

◆ dputil_list_push()

void dputil_list_push ( DPUtilList  this,
DPUtilListData  data 
)

list push

Definition at line 21 of file dp_util.c.

Here is the caller graph for this function: