/home/dko/Projects/mobilec/src/mc_sync/sync_list.h File Reference

#include "../include/macros.h"
#include "../mc_list/list.h"
#include "../include/mc_rwlock.h"

Go to the source code of this file.

Data Structures

struct  syncListNode_s
struct  syncList_s

Typedefs

typedef struct syncListNode_s syncListNode_t
typedef syncListNode_tsyncListNode_p
typedef struct syncList_s syncList_t
typedef syncList_tsyncList_p

Functions

int syncListNodeInit (struct syncListNode_s *node)
int syncListNodeDestroy (struct syncListNode_s *node)
syncListNode_tsyncListFind (int id, struct syncList_s *list)
struct syncListNode_ssyncListNodeNew (void)
int syncListDelete (int id, struct syncList_s *list)
syncListNode_tsyncListRemove (int id, struct syncList_s *list)
struct syncList_ssyncListInit (void)
int syncListDestroy (struct syncList_s *list)
int syncListAddNode (struct syncListNode_s *node, struct syncList_s *list)
int syncListNew (int id, struct syncList_s *list)
syncListNode_tsyncListGet (int id, struct syncList_s *list)

Typedef Documentation

Definition at line 33 of file sync_list.h.

typedef struct syncList_s syncList_t

Definition at line 23 of file sync_list.h.


Function Documentation

int syncListAddNode ( struct syncListNode_s node,
struct syncList_s list 
)
int syncListDelete ( int  id,
struct syncList_s list 
)
int syncListDestroy ( struct syncList_s list  ) 
syncListNode_t* syncListFind ( int  id,
struct syncList_s list 
)
syncListNode_t* syncListGet ( int  id,
struct syncList_s list 
)
struct syncList_s* syncListInit ( void   )  [read]
int syncListNew ( int  id,
struct syncList_s list 
)

Definition at line 126 of file sync_list.c.

References node, syncListAddNode(), and syncListNodeInit().

int syncListNodeDestroy ( struct syncListNode_s node  ) 
int syncListNodeInit ( struct syncListNode_s node  ) 
struct syncListNode_s* syncListNodeNew ( void   )  [read]
syncListNode_t* syncListRemove ( int  id,
struct syncList_s list 
)
Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3