Lines Matching defs:entry
190 * This function is set as a callback to be called for every entry in the DNS
193 * Returning non-zero means remove the entry, return 0 to keep it in the
216 * Returns the 'age' of the oldest still kept entry.
279 /* lookup address, returns entry if found and not stale */
287 /* Create an entry id, based upon the hostname and port */
294 /* No entry found in cache, check if we might have a wildcard entry */
303 /* See whether the returned entry is stale. Done before we release lock */
317 /* See if the returned entry matches the required resolve mode */
354 * Returns the Curl_dns_entry entry pointer or NULL if not in the cache.
469 * Returns the Curl_dns_entry entry pointer or NULL if the storage failed.
494 /* Create a new cache entry */
500 /* Create an entry id, based upon the hostname and port */
508 dns->timestamp = 1; /* zero indicates permanent CURLOPT_RESOLVE entry */
522 dns->inuse++; /* mark entry as in-use */
669 * a name and returns a pointer to the entry in the 'entry' argument (if one
673 * The cache entry we return will get its 'inuse' counter increased when this
688 struct Curl_dns_entry **entry)
702 *entry = NULL;
724 /* The entry was not in the cache. Resolve it to IP address */
851 *entry = dns;
875 * The cache entry we return will get its 'inuse' counter increased when this
895 struct Curl_dns_entry **entry,
913 *entry = NULL;
928 return Curl_resolv(data, hostname, port, TRUE, entry);
992 rc = Curl_resolv(data, hostname, port, TRUE, entry);
1045 * Curl_resolv_unlock() unlocks the given cached DNS entry. When this has been
1063 * File-internal: release cache dns entry reference, free if inuse drops to 0
1131 infof(data, "Bad syntax CURLOPT_RESOLVE removal entry '%s'",
1135 /* Create an entry id, based upon the hostname and port */
1141 /* delete entry, ignore if it didn't exist */
1242 failf(data, "Couldn't parse CURLOPT_RESOLVE entry '%s'",
1248 /* Create an entry id, based upon the hostname and port */
1261 /* delete old entry, there are two reasons for this
1262 1. old entry may have different addresses.
1263 2. even if entry with correct addresses is already in the cache,
1266 entry is not necessarily marked as permanent.
1267 3. when adding a non-permanent entry, we want it to remove and
1268 replace an existing permanent entry.
1269 4. when adding a non-permanent entry, we want it to get a "fresh"
1281 * entry alive: */