Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 48 lines (38 sloc) 1.642 kb
346b422 @skarcha Applied the "new-events" branch, again... Hope this fix the tree once…
skarcha authored
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 *
8 * Copyright (C) 2001-2011 Alvaro Lopez Ortega
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
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 * 02110-1301, USA.
23 */
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_CONNECTION_POLL_H
30 #define CHEROKEE_CONNECTION_POLL_H
31
32 #include "common.h"
33 #include "fdpoll.h"
34
35
36 typedef struct {
37 cherokee_poll_mode_t mode;
38 int fd;
39 } cherokee_connection_pool_t;
40
41
42 ret_t cherokee_connection_poll_init (cherokee_connection_pool_t *conn_poll);
43 ret_t cherokee_connection_poll_clean (cherokee_connection_pool_t *conn_poll);
44 ret_t cherokee_connection_poll_mrproper (cherokee_connection_pool_t *conn_poll);
45 int cherokee_connection_poll_is_set (cherokee_connection_pool_t *conn_poll);
46
47 #endif /* CHEROKEE_CONNECTION_POLL_H */
Something went wrong with that request. Please try again.