7 #ifndef GLOBUS_OBJECT_CACHE_H
8 #define GLOBUS_OBJECT_CACHE_H
15 #include "globus_object.h"
26 typedef struct globus_object_cache_s {
27 globus_hashtable_t handlemap;
29 unsigned long capacity_limit;
30 unsigned long entry_count;
31 } globus_object_cache_t;
39 globus_object_cache_init (globus_object_cache_t * cache);
43 globus_object_cache_destroy (globus_object_cache_t * cache);
47 globus_object_cache_insert (globus_object_cache_t * cache,
49 globus_object_t * new_object);
53 extern globus_object_t *
54 globus_object_cache_lookup (globus_object_cache_t * cache,
59 extern globus_object_t *
60 globus_object_cache_remove (globus_object_cache_t * cache,
66 globus_object_cache_list (globus_object_cache_t * cache);
struct globus_fifo_s * globus_fifo_t
Definition: globus_fifo.h:33