|
DTS Application Library
0.2.3
Application library containing referenced objects and interfaces to common libraries
|
Bucket iterator. More...
Data Fields | |
| struct bucket_list * | blist |
| Referenece to the bucket been itereated. More... | |
| unsigned short | bucket |
| Active bucket as determined by hash. More... | |
| size_t | version |
| Our version check this with blist to determine if we must rewined and fast forward. More... | |
| uint32_t | head_hash |
| Hash of head if we need to comeback. More... | |
| uint32_t | cur_hash |
| Hash of cur if we need to comeback. More... | |
| struct blist_obj * | head |
| Current bucket. More... | |
| struct blist_obj * | cur |
| Current item. More... | |
Bucket iterator.
buckets are more complex than linked lists to loop through them we will use a structure that holds a reference to the bucket and head it needs to be initialised and destroyed
| struct bucket_list* bucket_loop::blist |
Referenece to the bucket been itereated.
Definition at line 99 of file refobj.c.
Referenced by init_bucket_loop(), next_bucket_loop(), and remove_bucket_loop().
| unsigned short bucket_loop::bucket |
Active bucket as determined by hash.
Definition at line 101 of file refobj.c.
Referenced by init_bucket_loop(), next_bucket_loop(), and remove_bucket_loop().
| struct blist_obj* bucket_loop::cur |
Current item.
Definition at line 112 of file refobj.c.
Referenced by next_bucket_loop(), and remove_bucket_loop().
| uint32_t bucket_loop::cur_hash |
Hash of cur if we need to comeback.
Definition at line 108 of file refobj.c.
Referenced by next_bucket_loop(), and remove_bucket_loop().
| struct blist_obj* bucket_loop::head |
Current bucket.
Definition at line 110 of file refobj.c.
Referenced by init_bucket_loop(), and next_bucket_loop().
| uint32_t bucket_loop::head_hash |
Hash of head if we need to comeback.
Definition at line 106 of file refobj.c.
Referenced by init_bucket_loop(), and next_bucket_loop().
| size_t bucket_loop::version |
Our version check this with blist to determine if we must rewined and fast forward.
Definition at line 104 of file refobj.c.
Referenced by init_bucket_loop(), next_bucket_loop(), and remove_bucket_loop().