~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to lib/setup-os400.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: setup-os400.h,v 1.2 2008-05-20 10:21:50 patrickm Exp $
 
23
 * $Id: setup-os400.h,v 1.5 2008-11-17 19:08:35 yangtse Exp $
24
24
 ***************************************************************************/
25
25
 
26
 
/* The following must be defined BEFORE common header files inclusion. */
27
 
 
28
 
#define __ptr128                        /* No teraspace. */
29
 
#define qadrt_use_fputc_inline          /* Generate fputc() wrapper inline. */
30
 
#define qadrt_use_fread_inline          /* Generate fread() wrapper inline. */
31
 
#define qadrt_use_fwrite_inline         /* Generate fwrite() wrapper inline. */
32
 
 
33
26
 
34
27
/* OS/400 netdb.h does not define NI_MAXHOST. */
35
28
#define NI_MAXHOST      1025
37
30
/* OS/400 netdb.h does not define NI_MAXSERV. */
38
31
#define NI_MAXSERV      32
39
32
 
40
 
/* OS/400 does not define the ifr_dstaddr union member. */
41
 
#define ifr_dstaddr     ifr_addr
42
 
 
43
33
/* No OS/400 header file defines u_int32_t. */
44
34
typedef unsigned long   u_int32_t;
45
35
 
66
56
 
67
57
/* SSL wrappers. */
68
58
 
69
 
extern int      Curl_inet_ntoa_r_a(struct in_addr internet_address,
70
 
                                   char * output_buffer,
71
 
                                   int output_buffer_length);
72
 
#define inet_ntoa_r             Curl_inet_ntoa_r_a
73
 
 
74
 
 
75
59
extern int      Curl_SSL_Init_Application_a(SSLInitApp * init_app);
76
60
#define SSL_Init_Application    Curl_SSL_Init_Application_a
77
61