~ubuntu-branches/ubuntu/feisty/libapache2-mod-perl2/feisty-security

« back to all changes in this revision

Viewing changes to WrapXS/APR/SockAddr/SockAddr.xs

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2004-08-19 06:23:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040819062348-jxl4koqbtvgm8v2t
Tags: 1.99.14-4
Remove the LFS CFLAGS, and build-dep against apache2-*-dev (>= 2.0.50-10)
as we're backing out of the apache2/apr ABI transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 * *********** WARNING **************
 
4
 * This file generated by ModPerl::WrapXS/0.01
 
5
 * Any changes made here will be lost
 
6
 * ***********************************
 
7
 * 01: lib/ModPerl/WrapXS.pm:459
 
8
 * 02: lib/ModPerl/WrapXS.pm:1053
 
9
 * 03: Makefile.PL:290
 
10
 * 04: Makefile.PL:238
 
11
 * 05: Makefile.PL:49
 
12
 */
 
13
 
 
14
 
 
15
 
 
16
#define MP_IN_XS
 
17
 
 
18
#include "mod_perl.h"
 
19
 
 
20
#include "modperl_xs_sv_convert.h"
 
21
 
 
22
#include "modperl_xs_util.h"
 
23
 
 
24
#include "modperl_xs_typedefs.h"
 
25
 
 
26
#include "APR/SockAddr/APR__SockAddr.h"
 
27
 
 
28
MODULE = APR::SockAddr    PACKAGE = APR::SockAddr   PREFIX = apr_sockaddr_
 
29
 
 
30
int
 
31
apr_sockaddr_equal(addr1, addr2)
 
32
    APR::SockAddr addr1
 
33
    APR::SockAddr addr2
 
34
 
 
35
 
 
36
MODULE = APR::SockAddr    PACKAGE = APR::SockAddr   PREFIX = apr_sockaddr_
 
37
 
 
38
char *
 
39
apr_sockaddr_ip_get(sockaddr)
 
40
    APR::SockAddr sockaddr
 
41
 
 
42
 
 
43
    CODE:
 
44
    RETVAL = mpxs_apr_sockaddr_ip_get(aTHX_ sockaddr);
 
45
 
 
46
    OUTPUT:
 
47
    RETVAL
 
48
 
 
49
MODULE = APR::SockAddr    PACKAGE = APR::SockAddr 
 
50
 
 
51
apr_port_t
 
52
port(obj)
 
53
    APR::SockAddr obj
 
54
 
 
55
 
 
56
 
 
57
    CODE:
 
58
    RETVAL = (apr_port_t) obj->port;
 
59
 
 
60
    OUTPUT:
 
61
    RETVAL
 
62
 
 
63
MODULE = APR::SockAddr
 
64
PROTOTYPES: disabled
 
65
 
 
66
BOOT:
 
67
    items = items; /* -Wall */
 
68