Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

entrylist.h

Go to the documentation of this file.
00001 
00011 #ifndef _ENTRYLIST_H_
00012 #define _ENTRYLIST_H_
00013 
00014 #include "iarray.h"
00015 #include "entrylist_path.h"
00016 
00018 typedef struct {
00019   int  type;         
00020   int  size;         
00021   int  iname;        
00022   int  ifile;        
00023   el_path_t * path ; 
00024   char buffer[128];  
00025 } el_entry_t;
00026 
00028 typedef struct {
00029   iarray_t a;         
00030   el_path_t * path ;  
00031   int loading;        
00032 } el_list_t;
00033 
00034 el_list_t * entrylist_create(void);
00035 void entrylist_destroy(el_list_t * el);
00036 
00037 void entrylist_lock(el_list_t * el);
00038 void entrylist_unlock(el_list_t * el);
00039 int entrylist_trylock(el_list_t * el);
00040 int entrylist_lockcount(el_list_t * el);
00041 
00042 int entrylist_clear(el_list_t * el);
00043 int entrylist_remove(el_list_t * el, int idx);
00044 int entrylist_set(el_list_t * el, int idx, el_entry_t * e, int eltsize);
00045 int entrylist_insert(el_list_t * el, int idx, el_entry_t * e, int eltsize);
00046 
00047 #endif /* #define _ENTRYLIST_H_ */

dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6