You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ian Holsman <ia...@cnet.com> on 2001/08/12 05:15:27 UTC

[DOX] apr_fnmatch.h

Last one for tonight...

Index: apr_fnmatch.h
===================================================================
RCS file: /home/cvspublic/apr/include/apr_fnmatch.h,v
retrieving revision 1.14
diff -u -r1.14 apr_fnmatch.h
--- apr_fnmatch.h    2001/01/18 20:07:19    1.14
+++ apr_fnmatch.h    2001/08/12 03:11:04
@@ -36,6 +36,16 @@
 /* This file has been modified by the Apache Software Foundation. */
 #ifndef    _APR_FNMATCH_H_
 #define    _APR_FNMATCH_H_
+/**
+ * @file apr_fnmatch.h
+ * @brief APR FNMatch Functions
+ */
+/**
+ * @defgroup APR_FNMatch FNMatch Functions
+ * @ingroup APR
+ * @{
+ */
+
 
 #include "apr_errno.h"
 
@@ -43,18 +53,15 @@
 extern "C" {
 #endif
 
-/**
- * @package Fnmatch functions
- */
+#define    FNM_NOMATCH    1    /**< Match failed. */
 
-#define    FNM_NOMATCH    1    /* Match failed. */
+#define    FNM_NOESCAPE    0x01    /**< Disable backslash escaping. */
+#define    FNM_PATHNAME    0x02    /**< Slash must be matched by slash. */
+#define    FNM_PERIOD    0x04    /**< Period must be matched by period. */
 
-#define    FNM_NOESCAPE    0x01    /* Disable backslash escaping. */
-#define    FNM_PATHNAME    0x02    /* Slash must be matched by slash. */
-#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. */
+#define FNM_CASE_BLIND  0x08    /**< Compare characters 
case-insensitively.  @remark This flag is an Apache addition */
 
+
 /**
  * Try to match the string to the given pattern.
  * @param pattern The pattern to match to
@@ -66,7 +73,6 @@
  *              FNM_PERIOD         Period must be matched by period
  *              FNM_CASE_BLIND     Compare characters case-insensitively.
  * </PRE>
- * @deffunc apr_status_t apr_fnmatch(const char *pattern, const char 
*strings, int flags)
  */
 
 APR_DECLARE(apr_status_t) apr_fnmatch(const char *pattern,
@@ -76,12 +82,11 @@
  * 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 apr_is_fnmatch(const char *pattern)
  */
 APR_DECLARE(int) apr_is_fnmatch(const char *pattern);
 
 #ifdef __cplusplus
 }
 #endif
-
+/** @} */
 #endif /* !_FNMATCH_H_ */