key_cache        1185 lib/lrmd/lrmd_client.c key_is_cached(struct key_cache_s *key_cache)
key_cache        1187 lib/lrmd/lrmd_client.c     return key_cache->updated != 0;
key_cache        1191 lib/lrmd/lrmd_client.c key_cache_expired(struct key_cache_s *key_cache)
key_cache        1193 lib/lrmd/lrmd_client.c     return (time(NULL) - key_cache->updated) >= 60;
key_cache        1197 lib/lrmd/lrmd_client.c clear_key_cache(struct key_cache_s *key_cache)
key_cache        1199 lib/lrmd/lrmd_client.c     clear_gnutls_datum(&(key_cache->key));
key_cache        1200 lib/lrmd/lrmd_client.c     if ((key_cache->updated != 0) || (key_cache->location != NULL)) {
key_cache        1201 lib/lrmd/lrmd_client.c         key_cache->updated = 0;
key_cache        1202 lib/lrmd/lrmd_client.c         key_cache->location = NULL;
key_cache        1208 lib/lrmd/lrmd_client.c get_cached_key(struct key_cache_s *key_cache, gnutls_datum_t *key)
key_cache        1210 lib/lrmd/lrmd_client.c     copy_gnutls_datum(key, &(key_cache->key));
key_cache        1212 lib/lrmd/lrmd_client.c               pcmk__s(key_cache->location, "unknown location"));
key_cache        1216 lib/lrmd/lrmd_client.c cache_key(struct key_cache_s *key_cache, gnutls_datum_t *key,
key_cache        1219 lib/lrmd/lrmd_client.c     key_cache->updated = time(NULL);
key_cache        1220 lib/lrmd/lrmd_client.c     key_cache->location = location;
key_cache        1221 lib/lrmd/lrmd_client.c     copy_gnutls_datum(&(key_cache->key), key);
key_cache        1239 lib/lrmd/lrmd_client.c     static struct key_cache_s key_cache = { 0, };
key_cache        1246 lib/lrmd/lrmd_client.c     if (key_is_cached(&key_cache)) {
key_cache        1247 lib/lrmd/lrmd_client.c         if (key_cache_expired(&key_cache)) {
key_cache        1248 lib/lrmd/lrmd_client.c             clear_key_cache(&key_cache);
key_cache        1250 lib/lrmd/lrmd_client.c             get_cached_key(&key_cache, key);
key_cache        1259 lib/lrmd/lrmd_client.c     cache_key(&key_cache, key, location);