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/10/09 16:07:55 UTC

cvs commit: apache-2.0/src/lib/apr/include apr_dso.h apr_general.h apr_getopt.h

rbb         00/10/09 07:07:55

  Modified:    src/lib/apr/include apr_dso.h apr_general.h apr_getopt.h
  Log:
  Add some docs to APR.
  
  Revision  Changes    Path
  1.22      +1 -1      apache-2.0/src/lib/apr/include/apr_dso.h
  
  Index: apr_dso.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_dso.h,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- apr_dso.h	2000/09/13 04:35:22	1.21
  +++ apr_dso.h	2000/10/09 14:07:54	1.22
  @@ -86,7 +86,7 @@
   
   /**
    * Load a symbol from a DSO handle.
  - * @param dso Location to store the loaded symbol
  + * @param ressym Location to store the loaded symbol
    * @param handle handle to load from.
    * @param symname Name of the symbol to load.
    */
  
  
  
  1.43      +4 -1      apache-2.0/src/lib/apr/include/apr_general.h
  
  Index: apr_general.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_general.h,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- apr_general.h	2000/08/05 04:26:45	1.42
  +++ apr_general.h	2000/10/09 14:07:54	1.43
  @@ -243,7 +243,7 @@
   #endif
   
   /**
  - * package APR Random Functions
  + * @package APR Random Functions
    */
   
   #if APR_HAS_RANDOM
  @@ -272,6 +272,9 @@
   #define ALLOC_STATS
   */
   
  +/**
  + * @package APR memory allocation
  + */
   typedef struct apr_pool_t apr_pool_t;
   
   /** The memory allocation structure
  
  
  
  1.20      +26 -10    apache-2.0/src/lib/apr/include/apr_getopt.h
  
  Index: apr_getopt.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_getopt.h,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- apr_getopt.h	2000/08/17 00:29:38	1.19
  +++ apr_getopt.h	2000/10/09 14:07:54	1.20
  @@ -55,16 +55,32 @@
   #ifndef APR_GETOPT_H
   #define APR_GETOPT_H
   
  -typedef struct apr_getopt_t {
  -    apr_pool_t *cont;        /* context for processing */
  -    int err;                 /* if error message should be printed */
  -    int ind;                 /* index into parent argv vector */
  -    int opt;                 /* character checked for validity */
  -    int reset;               /* reset getopt */
  -    int argc;                /* count of arguments */
  -    char *const *argv;             /* array of pointers to arguments */
  -    char const* place;       /* argument associated with option */
  -} apr_getopt_t;
  +/**
  + * @package APR command arguments
  + */ 
  +
  +typedef struct apr_getopt_t apr_getopt_t;
  +/**
  + * Structure to store command line argument information.
  + */ 
  +struct apr_getopt_t {
  +    /** context for processing */
  +    apr_pool_t *cont;
  +    /** if error message should be printed */
  +    int err;
  +    /** index into parent argv vector */
  +    int ind;
  +    /** character checked for validity */
  +    int opt;
  +    /** reset getopt */
  +    int reset;
  +    /** count of arguments */
  +    int argc;
  +    /** array of pointers to arguments */
  +    char *const *argv;
  +    /** argument associated with option */
  +    char const* place;
  +};
   
   /**
    * Initialize the arguments for parsing by apr_getopt().