2 years ago 67fd684965 Stefan Sperling
tested by thomas, naddy, and myself
3 years ago 372b6d8e5b Stefan Sperling
remove unused function got_object_idset_lookup_data(); same code as idset_get()
4 years ago 93658fb90d Stefan Sperling
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
5 years ago cb103d042c Stefan Sperling
allow got_object_idset_for_each() to return an error
5 years ago b36429aba0 Stefan Sperling
reduce the amount of memcmp() calls via got_object_idset_add()
6 years ago f831532b96 Stefan Sperling
remove unused got_object_idset_remove_random()
6 years ago 60f2eee18f Stefan Sperling
undo previous; too much mixup in one data structure
6 years ago d54f52f450 Stefan Sperling
store recently accessed objects at front of cache lists
6 years ago e7c810ea16 Stefan Sperling
allow got_object_idset_remove() to retreive data pointer
6 years ago 27c21a117a Stefan Sperling
introduce got_object_idset_remove_random()
6 years ago 069f84d5cf Stefan Sperling
use signed int for max numer of object idset elements
6 years ago 917bfd05b8 Stefan Sperling
add an extra callback argument to got_object_idset_for_each()
6 years ago 45b73774db Stefan Sperling
rename got_object_idset_get_data() to got_object_idset_get()
6 years ago d5a90aac91 Stefan Sperling
return existing data if existing object id is added to set
6 years ago c6f420bf7c Stefan Sperling
expose number of elements in an object id set
6 years ago 54be825117 Stefan Sperling
add an object id set data structure