httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/include apr_fnmatch.h
Date Sun, 23 Jul 2000 04:15:06 GMT
rbb         00/07/22 21:15:06

  Modified:    src/lib/apr/include apr_fnmatch.h
  Log:
  Update the apr_fnmatch.c docs to use ScanDoc.
  
  Revision  Changes    Path
  1.10      +21 -24    apache-2.0/src/lib/apr/include/apr_fnmatch.h
  
  Index: apr_fnmatch.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_fnmatch.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apr_fnmatch.h	2000/07/05 00:12:44	1.9
  +++ apr_fnmatch.h	2000/07/23 04:15:05	1.10
  @@ -43,6 +43,10 @@
   extern "C" {
   #endif
   
  +/**
  + * @package Fnmatch functions 
  + */
  +
   #define	FNM_NOMATCH	1	/* Match failed. */
   
   #define	FNM_NOESCAPE	0x01	/* Disable backslash escaping. */
  @@ -50,36 +54,29 @@
   #define	FNM_PERIOD	0x04	/* Period must be matched by period. */
   /* This flag is an Apache addition */
   #define FNM_CASE_BLIND  0x08    /* Compare characters case-insensitively. */
  -
  -/*
  -
  -=head1 ap_status_t ap_fnmatch(const char *pattern, const char *strings, int flags)
  -
  -B<Try to match the string to the given pattern.>
   
  -    arg 1) The pattern to match to
  -    arg 2) The string we are trying to match
  -    arg 3) flags to use in the match.  Bitwise OR of:
  -                FNM_NOESCAPE   --  Disable backslash escaping
  -                FNM_PATHNAME   --  Slash must be matched by slash
  -                FNM_PERIOD     --  Period must be matched by period
  -                FNM_CASE_BLIND --  Compare characters case-insensitively.
  -
  -=cut
  +/**
  + * Try to match the string to the given pattern.
  + * @param pattern The pattern to match to
  + * @param strings The string we are trying to match
  + * @param flags flags to use in the match.  Bitwise OR of:
  + * <PRE>
  + *              FNM_NOESCAPE   --  Disable backslash escaping
  + *              FNM_PATHNAME   --  Slash must be matched by slash
  + *              FNM_PERIOD     --  Period must be matched by period
  + *              FNM_CASE_BLIND --  Compare characters case-insensitively.
  + * </PRE>
  + * @deffunc ap_status_t ap_fnmatch(const char *pattern, const char *strings, int flags)
    */
   
   APR_EXPORT(ap_status_t) ap_fnmatch(const char *pattern, const char *strings,
   			    int flags);
  -
  -/*
  -
  -=head1 ap_status_t ap_is_fnmatch(const char *pattern)
  -
  -B<Determine if the given pattern is a regular expression.>
  -
  -    arg 1) The pattern to search for glob characters.
   
  -=cut
  +/**
  + * Determine if the given pattern is a regular expression.
  + * @param pattern The pattern to search for glob characters.
  + * @return non-zero if pattern has any glob characters in it
  + * @deffunc int ap_is_fnmatch(const char *pattern)
    */
   APR_EXPORT(int) ap_is_fnmatch(const char *pattern);
   
  
  
  

Mime
View raw message