You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/06/14 00:56:24 UTC

cvs commit: apr-util/uri apr_uri.c

wrowe       01/06/13 15:56:23

  Modified:    include  apr_uri.h
               uri      apr_uri.c
  Log:
    scheme_t is private, not necessary in the public header.
  
  Revision  Changes    Path
  1.4       +0 -10     apr-util/include/apr_uri.h
  
  Index: apr_uri.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_uri.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- apr_uri.h	2001/05/22 04:08:42	1.3
  +++ apr_uri.h	2001/06/13 22:56:21	1.4
  @@ -75,16 +75,6 @@
    * @package Apache URI library
    */
   
  -typedef struct schemes_t schemes_t;
  -
  -/** Structure to store various schemes and their default ports */
  -struct schemes_t {
  -    /** The name of the scheme */
  -    const char *name;
  -    /** The default port for the scheme */
  -    apr_port_t default_port;
  -};
  -
   #define APU_URI_FTP_DEFAULT_PORT         21
   #define APU_URI_SSH_DEFAULT_PORT         22
   #define APU_URI_TELNET_DEFAULT_PORT      23
  
  
  
  1.6       +10 -0     apr-util/uri/apr_uri.c
  
  Index: apr_uri.c
  ===================================================================
  RCS file: /home/cvs/apr-util/uri/apr_uri.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- apr_uri.c	2001/05/23 05:16:51	1.5
  +++ apr_uri.c	2001/06/13 22:56:23	1.6
  @@ -69,6 +69,16 @@
   
   #include "apr_uri.h"
   
  +typedef struct schemes_t schemes_t;
  +
  +/** Structure to store various schemes and their default ports */
  +struct schemes_t {
  +    /** The name of the scheme */
  +    const char *name;
  +    /** The default port for the scheme */
  +    apr_port_t default_port;
  +};
  +
   /* Some WWW schemes and their default ports; this is basically /etc/services */
   /* This will become global when the protocol abstraction comes */
   /* As the schemes are searched by a linear search, */