~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/DiskIO/AIO/aio_win32.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2009-09-24 14:51:06 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (20.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090924145106-38jgrzmj0d73pha5
Tags: 3.1.0.13-1
* Upload to experimental

* New upstream release
  - Fixes Follow-X-Forwarded-For support (Closes: #523943)
  - Adds IPv6 support (Closes: #432351)

* debian/rules
  - Removed obsolete configuration options
  - Enable db and radius basic authentication modules

* debian/patches/01-cf.data.debian
  - Adapted to new upstream version

* debian/patches/02-makefile-defaults
  - Adapted to new upstream version

* debian/{squid.postinst,squid.rc,README.Debian,watch}
  - Updated references to squid 3.1

* debian/squid3.install
  - Install CSS file for error pages
  - Install manual pages for new authentication modules

* debian/squid3-common.install
  - Install documented version of configuration file in /usr/share/doc/squid3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
/*
3
 
 * $Id: aio_win32.h,v 1.2 2006/09/09 15:29:59 serassio Exp $
 
2
 * $Id$
4
3
 *
5
4
 * AUTHOR: Guido Serassio <serassio@squid-cache.org>
6
5
 *
20
19
 *  it under the terms of the GNU General Public License as published by
21
20
 *  the Free Software Foundation; either version 2 of the License, or
22
21
 *  (at your option) any later version.
23
 
 *  
 
22
 *
24
23
 *  This program is distributed in the hope that it will be useful,
25
24
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
26
25
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
26
 *  GNU General Public License for more details.
28
 
 *  
 
27
 *
29
28
 *  You should have received a copy of the GNU General Public License
30
29
 *  along with this program; if not, write to the Free Software
31
30
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
35
34
#ifndef __WIN32_AIO_H__
36
35
#define __WIN32_AIO_H__
37
36
 
 
37
#include "config.h"
 
38
 
38
39
#ifdef _SQUID_CYGWIN_
39
40
#include "squid_windows.h"
40
41
#endif
44
45
#endif
45
46
 
46
47
#ifdef _SQUID_MSWIN_
 
48
 
47
49
union sigval {
48
50
    int sival_int; /* integer value */
49
51
    void *sival_ptr; /* pointer value */
50
52
};
51
53
 
52
 
struct sigevent
53
 
{
 
54
struct sigevent {
54
55
    int sigev_notify; /* notification mode */
55
56
    int sigev_signo; /* signal number */
56
57
    union sigval sigev_value; /* signal value */
57
58
};
58
59
 
59
 
#endif
 
60
// #endif
60
61
 
61
 
struct aiocb64
62
 
{
 
62
struct aiocb64 {
63
63
    int aio_fildes; /* file descriptor */
64
64
    void *aio_buf; /* buffer location */
65
65
    size_t aio_nbytes; /* length of transfer */
70
70
    int aio_lio_opcode; /* listio operation */
71
71
};
72
72
 
73
 
struct aiocb
74
 
{
 
73
struct aiocb {
75
74
    int aio_fildes; /* file descriptor */
76
75
    void *aio_buf; /* buffer location */
77
76
    size_t aio_nbytes; /* length of transfer */
107
106
int aio_open(const char *, int);
108
107
void aio_close(int);
109
108
 
110
 
#endif
 
109
#endif /* _SQUID_MSWIN_ */
 
110
#endif /* __WIN32_AIO_H__ */