You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ia...@apache.org on 2002/02/15 22:15:44 UTC

cvs commit: apr/include apr_file_info.h apr_general.h apr_getopt.h apr_thread_proc.h apr_time.h apr_uuid.h

ianh        02/02/15 13:15:44

  Modified:    docs     doxygen.conf
               include  apr_file_info.h apr_general.h apr_getopt.h
                        apr_thread_proc.h apr_time.h apr_uuid.h
  Log:
  some more Doxygen goodness
  still alot more #defines to go
  
  Revision  Changes    Path
  1.3       +1 -0      apr/docs/doxygen.conf
  
  Index: doxygen.conf
  ===================================================================
  RCS file: /home/cvs/apr/docs/doxygen.conf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- doxygen.conf	14 Aug 2001 04:05:16 -0000	1.2
  +++ doxygen.conf	15 Feb 2002 21:15:44 -0000	1.3
  @@ -13,6 +13,7 @@
   # not sure why this doesn't work as EXPAND_AS_DEFINED, it should!
   PREDEFINED="APR_DECLARE(x)=x" \
              "APR_DECLARE_NONSTD(x)=x" \
  +           "APR_HAS_XLATE" \
              DOXYGEN=
   
   OPTIMIZE_OUTPUT_FOR_C=YES
  
  
  
  1.29      +5 -5      apr/include/apr_file_info.h
  
  Index: apr_file_info.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_file_info.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apr_file_info.h	4 Feb 2002 19:10:20 -0000	1.28
  +++ apr_file_info.h	15 Feb 2002 21:15:44 -0000	1.29
  @@ -150,11 +150,11 @@
   typedef struct apr_finfo_t        apr_finfo_t;
   
   #define APR_FINFO_LINK   0x00000001 /**< Stat the link not the file itself if it is a link */
  -#define APR_FINFO_MTIME  0x00000010
  -#define APR_FINFO_CTIME  0x00000020
  -#define APR_FINFO_ATIME  0x00000040
  -#define APR_FINFO_SIZE   0x00000100
  -#define APR_FINFO_CSIZE  0x00000200
  +#define APR_FINFO_MTIME  0x00000010 /**< Modification Time */
  +#define APR_FINFO_CTIME  0x00000020 /**< Creation Time */
  +#define APR_FINFO_ATIME  0x00000040 /**< Access Time */
  +#define APR_FINFO_SIZE   0x00000100 /**< Size of the file */
  +#define APR_FINFO_CSIZE  0x00000200 /**< Storage size consumed by the file */
   #define APR_FINFO_DEV    0x00001000
   #define APR_FINFO_INODE  0x00002000
   #define APR_FINFO_NLINK  0x00004000
  
  
  
  1.64      +14 -0     apr/include/apr_general.h
  
  Index: apr_general.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_general.h,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- apr_general.h	30 Jan 2002 06:42:54 -0000	1.63
  +++ apr_general.h	15 Feb 2002 21:15:44 -0000	1.64
  @@ -76,20 +76,34 @@
    * @{
    */
   
  +/** FALSE */
   #ifndef FALSE
   #define FALSE 0
   #endif
  +/** TRUE */
   #ifndef TRUE
   #define TRUE (!FALSE)
   #endif
   
  +/**
  + * The Win32 call WaitForMultipleObjects will only allow you to wait for 
  + * a maximum of MAXIMUM_WAIT_OBJECTS (current 64).  Since the threading 
  + * model in the multithreaded version of apache wants to use this call, 
  + * we are restricted to a maximum of 64 threads.  
  + * @see wait_for_many_objects  for a way to increase this size
  + */
  +
   #ifndef MAXIMUM_WAIT_OBJECTS
   #define MAXIMUM_WAIT_OBJECTS 64
   #endif
   
  +/** a space */
   #define APR_ASCII_BLANK  '\040'
  +/** a carrige return */
   #define APR_ASCII_CR     '\015'
  +/** a line feed */
   #define APR_ASCII_LF     '\012'
  +/** a tab */
   #define APR_ASCII_TAB    '\011'
   
   typedef int               apr_signum_t;
  
  
  
  1.37      +3 -0      apr/include/apr_getopt.h
  
  Index: apr_getopt.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_getopt.h,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- apr_getopt.h	17 Jan 2002 17:26:35 -0000	1.36
  +++ apr_getopt.h	15 Feb 2002 21:15:44 -0000	1.37
  @@ -71,6 +71,9 @@
    * @{
    */
   
  +/** 
  + * defintion of a error function 
  + */
   typedef void (apr_getopt_err_fn_t)(void *arg, const char *err, ...);
   
   typedef struct apr_getopt_t apr_getopt_t;
  
  
  
  1.80      +12 -0     apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_thread_proc.h,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- apr_thread_proc.h	28 Jan 2002 21:58:15 -0000	1.79
  +++ apr_thread_proc.h	15 Feb 2002 21:15:44 -0000	1.80
  @@ -102,18 +102,30 @@
       APR_PROC_SIGNAL_CORE = 4    /**< process exited and dumped a core file */
   } apr_exit_why_e;
   
  +/** did we exit the process */
   #define APR_PROC_CHECK_EXIT(x)        (x & APR_PROC_EXIT)
  +/** did we get a signal */
   #define APR_PROC_CHECK_SIGNALED(x)    (x & APR_PROC_SIGNAL)
  +/** did we get core */
   #define APR_PROC_CHECK_CORE_DUMP(x)   (x & APR_PROC_SIGNAL_CORE)
   
  +/** @see apr_procattr_io_set */
   #define APR_NO_PIPE          0
  +
  +/** @see apr_procattr_io_set */
   #define APR_FULL_BLOCK       1
  +/** @see apr_procattr_io_set */
   #define APR_FULL_NONBLOCK    2
  +/** @see apr_procattr_io_set */
   #define APR_PARENT_BLOCK     3
  +/** @see apr_procattr_io_set */
   #define APR_CHILD_BLOCK      4
   
  +/** @see apr_procattr_limit_set */
   #define APR_LIMIT_CPU        0
  +/** @see apr_procattr_limit_set */
   #define APR_LIMIT_MEM        1
  +/** @see apr_procattr_limit_set */
   #define APR_LIMIT_NPROC      2
   
   #if APR_HAS_OTHER_CHILD || defined(DOXYGEN)
  
  
  
  1.43      +2 -0      apr/include/apr_time.h
  
  Index: apr_time.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_time.h,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- apr_time.h	1 Dec 2001 01:24:28 -0000	1.42
  +++ apr_time.h	15 Feb 2002 21:15:44 -0000	1.43
  @@ -89,8 +89,10 @@
   
   /** intervals for I/O timeouts, in microseconds */
   typedef apr_int64_t apr_interval_time_t;
  +/** short interval for I/O timeouts, in microseconds */
   typedef apr_int32_t apr_short_interval_time_t;
   
  +/** number of microseconds per second */
   #define APR_USEC_PER_SEC APR_TIME_C(1000000)
   
   
  
  
  
  1.9       +1 -1      apr/include/apr_uuid.h
  
  Index: apr_uuid.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_uuid.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- apr_uuid.h	24 Aug 2001 17:55:45 -0000	1.8
  +++ apr_uuid.h	15 Feb 2002 21:15:44 -0000	1.9
  @@ -80,7 +80,7 @@
       unsigned char data[16]; /**< the actual UUID */
   } apr_uuid_t;
   
  -/* UUIDs are formatted as: 00112233-4455-6677-8899-AABBCCDDEEFF */
  +/** UUIDs are formatted as: 00112233-4455-6677-8899-AABBCCDDEEFF */
   #define APR_UUID_FORMATTED_LENGTH 36