design_pattern_for_c  V 1.00
dp_util.c File Reference

design pattern libraries utility API More...

#include "dp_util.h"
Include dependency graph for dp_util.c:

Go to the source code of this file.

Functions

void dputil_lock (void *handle)
 lock More...
 
void dputil_unlock (void *handle)
 unlock More...
 
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

design pattern libraries utility API

Definition in file dp_util.c.

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:

◆ dputil_lock()

void dputil_lock ( void *  handle)

lock

Definition at line 7 of file dp_util.c.

◆ dputil_unlock()

void dputil_unlock ( void *  handle)

unlock

Definition at line 14 of file dp_util.c.