Skip to content
This repository
Newer
Older
100644 54 lines (40 sloc) 2.022 kb
ae9d9717 »
2006-04-01 git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3 /* Cherokee
4 *
5 * Authors:
6 * Alvaro Lopez Ortega <alvaro@alobbs.com>
7 *
920e20bc »
2011-01-14 Happy new year!
8 * Copyright (C) 2001-2011 Alvaro Lopez Ortega
ae9d9717 »
2006-04-01 git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of version 2 of the GNU General Public
12 * License as published by the Free Software Foundation.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
2c390923 »
2009-01-02 git-svn-id: svn://cherokee-project.com/cherokee/trunk@2660 5dc97367-9…
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 * 02110-1301, USA.
72f64441 »
2009-12-13 Clean up: Trims trailing spaces.
23 */
ae9d9717 »
2006-04-01 git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
24
25 #if !defined (CHEROKEE_INSIDE_CHEROKEE_H) && !defined (CHEROKEE_COMPILATION)
26 # error "Only <cherokee/cherokee.h> can be included directly, this file may disappear or change contents."
27 #endif
28
29 #ifndef CHEROKEE_RESOLV_CACHE_H
30 #define CHEROKEE_RESOLV_CACHE_H
31
32 #include <cherokee/common.h>
33
34
35 CHEROKEE_BEGIN_DECLS
36
37 typedef struct cherokee_resolv_cache cherokee_resolv_cache_t;
38 #define RESOLV(x) ((cherokee_resolv_cache_t *)(x))
39
40
41 ret_t cherokee_resolv_cache_get_default (cherokee_resolv_cache_t **resolv);
42
c7bad7d6 »
2006-12-27 git-svn-id: svn://cherokee-project.com/cherokee/trunk@543 5dc97367-97…
43 ret_t cherokee_resolv_cache_init (cherokee_resolv_cache_t *resolv);
44 ret_t cherokee_resolv_cache_mrproper (cherokee_resolv_cache_t *resolv);
45 ret_t cherokee_resolv_cache_clean (cherokee_resolv_cache_t *resolv);
ae9d9717 »
2006-04-01 git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
46
85a296d7 »
2011-09-26 Solves a number of issues around the IPv6 support of the server,
47 ret_t cherokee_resolv_cache_get_ipstr (cherokee_resolv_cache_t *resolv, cherokee_buffer_t *domain, const char **ip);
48 ret_t cherokee_resolv_cache_get_host (cherokee_resolv_cache_t *resolv, cherokee_buffer_t *domain, void *sock);
49 ret_t cherokee_resolv_cache_get_addrinfo (cherokee_resolv_cache_t *resolv, cherokee_buffer_t *domain, const struct addrinfo **addr_info);
ae9d9717 »
2006-04-01 git-svn-id: svn://cherokee-project.com/cherokee/trunk@243 5dc97367-97…
50
51 CHEROKEE_END_DECLS
52
53 #endif /* CHEROKEE_RESOLV_CACHE_H */
Something went wrong with that request. Please try again.