geoff 2003/12/08 11:31:53
Modified: xs/APR/SockAddr APR__SockAddr.h
xs/maps apr_functions.map
xs/tables/current/Apache FunctionTable.pm
xs/tables/current/ModPerl FunctionTable.pm
Log:
more APR deprecation: apr_sockaddr_port_get and apr_sockaddr_port_set
Revision Changes Path
1.2 +0 -10 modperl-2.0/xs/APR/SockAddr/APR__SockAddr.h
Index: APR__SockAddr.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/SockAddr/APR__SockAddr.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- APR__SockAddr.h 13 May 2002 00:34:28 -0000 1.1
+++ APR__SockAddr.h 8 Dec 2003 19:31:53 -0000 1.2
@@ -7,13 +7,3 @@
return addr;
}
-
-static MP_INLINE apr_port_t
-mpxs_apr_sockaddr_port_get(pTHX_ apr_sockaddr_t *sockaddr)
-{
- apr_port_t port = 0;
-
- (void)apr_sockaddr_port_get(&port, sockaddr);
-
- return port;
-}
1.64 +0 -2 modperl-2.0/xs/maps/apr_functions.map
Index: apr_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- apr_functions.map 4 Dec 2003 20:26:26 -0000 1.63
+++ apr_functions.map 8 Dec 2003 19:31:53 -0000 1.64
@@ -69,8 +69,6 @@
MODULE=APR::SockAddr
!apr_sockaddr_info_get
char *:apr_sockaddr_ip_get | mpxs_ | sockaddr
- apr_sockaddr_port_set
- apr_port_t:apr_sockaddr_port_get | mpxs_ | sockaddr
apr_sockaddr_equal
MODULE=APR::Brigade
1.51 +0 -28 modperl-2.0/xs/tables/current/Apache/FunctionTable.pm
Index: FunctionTable.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- FunctionTable.pm 4 Dec 2003 20:26:26 -0000 1.50
+++ FunctionTable.pm 8 Dec 2003 19:31:53 -0000 1.51
@@ -11575,34 +11575,6 @@
},
{
'return_type' => 'apr_status_t',
- 'name' => 'apr_sockaddr_port_get',
- 'args' => [
- {
- 'type' => 'apr_port_t *',
- 'name' => 'port'
- },
- {
- 'type' => 'apr_sockaddr_t *',
- 'name' => 'sockaddr'
- }
- ]
- },
- {
- 'return_type' => 'apr_status_t',
- 'name' => 'apr_sockaddr_port_set',
- 'args' => [
- {
- 'type' => 'apr_sockaddr_t *',
- 'name' => 'sockaddr'
- },
- {
- 'type' => 'apr_port_t',
- 'name' => 'port'
- }
- ]
- },
- {
- 'return_type' => 'apr_status_t',
'name' => 'apr_socket_addr_get',
'args' => [
{
1.133 +0 -14 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm
Index: FunctionTable.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- FunctionTable.pm 1 Dec 2003 17:14:17 -0000 1.132
+++ FunctionTable.pm 8 Dec 2003 19:31:53 -0000 1.133
@@ -6612,20 +6612,6 @@
]
},
{
- 'return_type' => '',
- 'name' => 'mpxs_apr_sockaddr_port_get',
- 'args' => [
- {
- 'type' => 'PerlInterpreter *',
- 'name' => 'my_perl'
- },
- {
- 'type' => 'apr_sockaddr_t *',
- 'name' => 'sockaddr'
- }
- ]
- },
- {
'return_type' => 'void',
'name' => 'mpxs_apr_strerror',
'attr' => [