You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/07/21 22:30:45 UTC

cvs commit: apache-2.0/src/lib/apr/include apr_lib.h apr_strings.h

rbb         00/07/21 13:30:45

  Modified:    src/lib/apr/include apr_lib.h apr_strings.h
  Log:
  Move some prototypes from apr_lib.h to apr_strings.h.
  
  Revision  Changes    Path
  1.36      +0 -31     apache-2.0/src/lib/apr/include/apr_lib.h
  
  Index: apr_lib.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_lib.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- apr_lib.h	2000/07/21 19:50:41	1.35
  +++ apr_lib.h	2000/07/21 20:30:43	1.36
  @@ -89,22 +89,6 @@
   
   /*
   
  -=head1 ap_status_t ap_tokenize_to_argv(const char **arg_str, char ***argv_out, ap_pool_t *token_context)
  -
  -B<Convert the arguments to a program from one string to an array of strings terminated by a NULL>
  -
  -    arg 1) The arguments to convert
  -    arg 2) Output location.  This is a pointer to an array of strings.
  -    arg 3) Pool to use.
  -
  -=cut
  - */
  -APR_EXPORT(ap_status_t) ap_tokenize_to_argv(const char *arg_str, 
  -                                            char ***argv_out,
  -                                            ap_pool_t *token_context);
  -
  -/*
  -
   =head1 ap_status_t ap_filename_of_pathname(const char *pathname)
   
   B<return the final element of the pathname>
  @@ -119,21 +103,6 @@
   =cut
    */
   APR_EXPORT(const char *) ap_filename_of_pathname(const char *pathname);
  -
  -
  -/*
  -
  -=head1 ap_status_t ap_collapse_spaces(char *dest, const char *src)
  -
  -B<Strip spaces from a string>
  -
  -    arg 1) The destination string.  It is okay to modify the string
  -           in place.  Namely dest == src
  -    arg 2) The string to rid the spaces from.
  -
  -=cut
  - */
  -APR_EXPORT(char *) ap_collapse_spaces(char *dest, const char *src);
   
   /*
   
  
  
  
  1.2       +32 -0     apache-2.0/src/lib/apr/include/apr_strings.h
  
  Index: apr_strings.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_strings.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_strings.h	2000/07/21 19:50:41	1.1
  +++ apr_strings.h	2000/07/21 20:30:43	1.2
  @@ -157,6 +157,38 @@
    */
   APR_EXPORT(char *) ap_cpystrn(char *dst, const char *src, size_t dst_size);
   
  +/*
  +
  +=head1 ap_status_t ap_collapse_spaces(char *dest, const char *src)
  +
  +B<Strip spaces from a string>
  +
  +    arg 1) The destination string.  It is okay to modify the string
  +           in place.  Namely dest == src
  +    arg 2) The string to rid the spaces from.
  +
  +=cut
  + */
  +APR_EXPORT(char *) ap_collapse_spaces(char *dest, const char *src);
  +
  +/*
  +
  +=head1 ap_status_t ap_tokenize_to_argv(const char **arg_str, char ***argv_out, a
  +p_pool_t *token_context)
  +
  +B<Convert the arguments to a program from one string to an array of strings term
  +inated by a NULL>
  +
  +    arg 1) The arguments to convert
  +    arg 2) Output location.  This is a pointer to an array of strings.
  +    arg 3) Pool to use.
  +
  +=cut
  + */
  +APR_EXPORT(ap_status_t) ap_tokenize_to_argv(const char *arg_str,
  +                                            char ***argv_out,
  +                                            ap_pool_t *token_context);
  +
   #ifdef __cplusplus
   }
   #endif