~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/apr/include/arch/os2/apr_arch_os2calls.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
 
2
 * applicable.
 
3
 *
 
4
 * Licensed under the Apache License, Version 2.0 (the "License");
 
5
 * you may not use this file except in compliance with the License.
 
6
 * You may obtain a copy of the License at
 
7
 *
 
8
 *     http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
#include "apr_errno.h"
 
18
#include <sys/types.h>
 
19
#include <sys/socket.h>
 
20
 
 
21
extern int (*apr_os2_socket)(int, int, int);
 
22
extern int (*apr_os2_select)(int *, int, int, int, long);
 
23
extern int (*apr_os2_sock_errno)();
 
24
extern int (*apr_os2_accept)(int, struct sockaddr *, int *);
 
25
extern int (*apr_os2_bind)(int, struct sockaddr *, int);
 
26
extern int (*apr_os2_connect)(int, struct sockaddr *, int);
 
27
extern int (*apr_os2_getpeername)(int, struct sockaddr *, int *);
 
28
extern int (*apr_os2_getsockname)(int, struct sockaddr *, int *);
 
29
extern int (*apr_os2_getsockopt)(int, int, int, char *, int *);
 
30
extern int (*apr_os2_ioctl)(int, int, caddr_t, int);
 
31
extern int (*apr_os2_listen)(int, int);
 
32
extern int (*apr_os2_recv)(int, char *, int, int);
 
33
extern int (*apr_os2_send)(int, const char *, int, int);
 
34
extern int (*apr_os2_setsockopt)(int, int, int, char *, int);
 
35
extern int (*apr_os2_shutdown)(int, int);
 
36
extern int (*apr_os2_soclose)(int);
 
37
extern int (*apr_os2_writev)(int, struct iovec *, int);
 
38
extern int (*apr_os2_sendto)(int, const char *, int, int, const struct sockaddr *, int);
 
39
extern int (*apr_os2_recvfrom)(int, char *, int, int, struct sockaddr *, int *);
 
40
 
 
41
#define socket apr_os2_socket
 
42
#define select apr_os2_select
 
43
#define sock_errno apr_os2_sock_errno
 
44
#define accept apr_os2_accept
 
45
#define bind apr_os2_bind
 
46
#define connect apr_os2_connect
 
47
#define getpeername apr_os2_getpeername
 
48
#define getsockname apr_os2_getsockname
 
49
#define getsockopt apr_os2_getsockopt
 
50
#define ioctl apr_os2_ioctl
 
51
#define listen apr_os2_listen
 
52
#define recv apr_os2_recv
 
53
#define send apr_os2_send
 
54
#define setsockopt apr_os2_setsockopt
 
55
#define shutdown apr_os2_shutdown
 
56
#define soclose apr_os2_soclose
 
57
#define writev apr_os2_writev
 
58
#define sendto apr_os2_sendto
 
59
#define recvfrom apr_os2_recvfrom