cphidgetlist.h
Go to the documentation of this file.
00001 #ifndef __CPHIDGETLIST
00002 #define __CPHIDGETLIST
00003 
00004 typedef struct _CList
00005 {
00006         struct _CList *next;
00007         void *element;
00008 } CList, *CListHandle;
00009 
00010 int CList_addToList(CListHandle *list, void *element, 
00011         int (*compare_fptr)(void *element1, void *element2));
00012 int CList_removeFromList(CListHandle *list, void *element, 
00013         int (*compare_fptr)(void *element1, void *element2),
00014         int freeDevice, void (*free_fptr)(void *element));
00015 int CList_emptyList(CListHandle *list, int freeDevices, void (*free_fptr)(void *element));
00016 int CList_findInList(CListHandle list, void *element, 
00017         int (*compare_fptr)(void *element1, void *element2), void **found_element);
00018 
00019 #endif


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:20